Skip to content

Commit d649a3f

Browse files
authored
chore(ci): fix
1 parent ad8fb0e commit d649a3f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,18 @@ jobs:
2222
fixcs:
2323
name: Run php-cs-fixer
2424
needs: sync-with-template
25-
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
25+
if: (github.event_name == 'push' || github.event_name == 'schedule') && !startsWith(github.ref, 'refs/tags')
2626
runs-on: ubuntu-latest
2727
steps:
2828
- uses: zenstruck/.github@php-cs-fixer
2929
with:
3030
php: 8
3131
key: ${{ secrets.GPG_PRIVATE_KEY }}
32+
token: ${{ secrets.COMPOSER_TOKEN }}
3233

3334
sync-with-template:
3435
name: Sync meta files
35-
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
36+
if: (github.event_name == 'push' || github.event_name == 'schedule') && !startsWith(github.ref, 'refs/tags')
3637
runs-on: ubuntu-latest
3738
steps:
3839
- uses: zenstruck/.github@sync-with-template

0 commit comments

Comments
 (0)