Skip to content

Commit d856c99

Browse files
committed
GitHub Actions: Add Auto Pint
1 parent ce573d2 commit d856c99

File tree

3 files changed

+24
-47
lines changed

3 files changed

+24
-47
lines changed

.github/workflows/auto-commit.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Auto Commit
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref_name }}
11+
cancel-in-progress: true
12+
13+
permissions: {}
14+
15+
jobs:
16+
pint:
17+
uses: typisttech/.github/.github/workflows/auto-pint.yml@auto-pint
18+
permissions:
19+
contents: write
20+
pull-requests: write
21+
secrets:
22+
pr-write-pat-token: ${{ secrets.PR_WRITE_PAT_TOKEN }}
23+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/lint.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ concurrency:
1313
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
1414
cancel-in-progress: true
1515

16-
permissions:
17-
contents: read # TODO!
16+
permissions: {}
1817

1918
jobs:
2019
pest:

0 commit comments

Comments
 (0)