Skip to content

Commit 36e1774

Browse files
authored
chore: prevent update_librarian_googleapis.yaml triggered from fork
1 parent bb4d9e4 commit 36e1774

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/update_librarian_googleapis.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ on:
2222
- '.github/workflows/update_librarian_googleapis.yaml'
2323
jobs:
2424
update-librarian-googleapis:
25+
# This condition blocks the job from running on any fork
26+
if: github.repository_owner == 'googleapis'
2527
runs-on: ubuntu-24.04
2628
defaults:
2729
run:

0 commit comments

Comments
 (0)