commit | 76cf688aab59214078a022c474a5753d856582eb | [log] [tgz] |
---|---|---|
author | Anthonios Partheniou <partheniou@google.com> | Fri May 07 12:08:05 2021 -0400 |
committer | GitHub <noreply@github.com> | Fri May 07 16:08:05 2021 +0000 |
tree | 0411694d02958b6e1186509446033aeff147abaf | |
parent | c0b883a43d90c27153eb1d205d52cd5d8b66c39a [diff] |
chore: Prevent Github action from running on forks (#1343) Fixes #1342 🦕
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cc6e6cb..00db62f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml
@@ -25,6 +25,8 @@ build: name: Update Discovery Artifacts PR runs-on: ubuntu-latest + if: | + ${{github.repository == 'googleapis/google-api-python-client'}} steps: - name: Get current date id: date