Skip to content

Commit 76cf688

Browse files
authored
chore: Prevent Github action from running on forks (#1343)
Fixes #1342 🦕
1 parent c0b883a commit 76cf688

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
build:
2626
name: Update Discovery Artifacts PR
2727
runs-on: ubuntu-latest
28+
if: |
29+
${{github.repository == 'googleapis/google-api-python-client'}}
2830
steps:
2931
- name: Get current date
3032
id: date

0 commit comments

Comments
 (0)