Skip to content

Commit 43ddbf2

Browse files
committed
ci(ua-blocker): simplify condition
1 parent 30f90e4 commit 43ddbf2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci-ua-blocker-sync.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
jobs:
1010
sync-and-pr:
11+
if: ${{ !github.event.repository.fork }}
1112
runs-on: ubuntu-latest
1213
permissions:
1314
contents: write
@@ -58,7 +59,7 @@ jobs:
5859
EOF
5960
6061
- name: Create Pull Request if changes exist
61-
if: steps.changes.outputs.has_changes == 'true' && !github.event.repository.fork
62+
if: steps.changes.outputs.has_changes == 'true'
6263
uses: peter-evans/create-pull-request@v7
6364
with:
6465
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)