Skip to content

Commit

Permalink
build.yaml: Skip upload step raising an error for PR from forks (#3162)
Browse files Browse the repository at this point in the history
We don't want our gcp buckets to get overfilled with builds from
external devs.
  • Loading branch information
hjpotter92 authored Sep 5, 2024
1 parent 2e55134 commit 384b703
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ jobs:

upload:
name: Upload artifacts to google bucket
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
permissions:
contents: "read"
id-token: "write"
Expand Down

0 comments on commit 384b703

Please sign in to comment.