Skip to content

Commit

Permalink
ci: ensure GA run is triggered on fixers' push
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and spawnia committed Jan 19, 2024
1 parent c7f4b92 commit 89b9784
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/autoformat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Autoformat

on:
push:
branches:
- '*'

jobs:
composer-normalize:
Expand Down Expand Up @@ -33,6 +31,7 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GA_PAT }}

- uses: shivammathur/setup-php@v2
with:
Expand All @@ -51,10 +50,16 @@ jobs:

php-cs-fixer:
runs-on: ubuntu-latest

permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
contents: write

steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GA_PAT }}

- uses: shivammathur/setup-php@v2
with:
Expand Down

0 comments on commit 89b9784

Please sign in to comment.