Skip to content

Commit b504acf

Browse files
committed
Avoid running sync jobs in forks
1 parent d05e24d commit b504acf

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/sync-main-doc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
jobs:
88
sync:
99
runs-on: ubuntu-latest
10+
if: github.repository == 'quarkusio/quarkusio.github.io'
1011
steps:
1112
- uses: actions/checkout@v4
1213
with:

.github/workflows/sync-working-groups.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
jobs:
1212
sync:
13+
if: github.repository == 'quarkusio/quarkusio.github.io'
1314
runs-on: ubuntu-latest
1415
steps:
1516
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)