Skip to content

Commit 6ea08a7

Browse files
authored
Update sync-editorconfig-on-push.yml
1 parent 249cd7c commit 6ea08a7

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎.github/workflows/sync-editorconfig-on-push.yml‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ jobs:
6161
open-or-update-sync-pr:
6262
# PR-only syncing: create/update a PR on default-branch pushes, or manual runs
6363
if: >
64-
github.event_name != 'pull_request' &&
65-
(github.event_name != 'push' || github.ref == format('refs/heads/{0}', github.event.repository.default_branch)) &&
66-
github.actor != 'github-actions[bot]'
64+
github.event_name != 'pull_request' && github.actor != 'github-actions[bot]'
6765
runs-on: ubuntu-latest
6866
steps:
6967
- name: Checkout default branch

0 commit comments

Comments
 (0)