Skip to content

Commit 89b9784

Browse files
renovate[bot]spawnia
authored andcommitted

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/autoformat.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: Autoformat
22

33
on:
44
push:
5-
branches:
6-
- '*'
75

86
jobs:
97
composer-normalize:
@@ -33,6 +31,7 @@ jobs:
3331
- uses: actions/checkout@v4
3432
with:
3533
ref: ${{ github.head_ref }}
34+
token: ${{ secrets.GA_PAT }}
3635

3736
- uses: shivammathur/setup-php@v2
3837
with:
@@ -51,10 +50,16 @@ jobs:
5150

5251
php-cs-fixer:
5352
runs-on: ubuntu-latest
53+
54+
permissions:
55+
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
56+
contents: write
57+
5458
steps:
5559
- uses: actions/checkout@v4
5660
with:
5761
ref: ${{ github.head_ref }}
62+
token: ${{ secrets.GA_PAT }}
5863

5964
- uses: shivammathur/setup-php@v2
6065
with:

0 commit comments

Comments
 (0)