Skip to content

Commit

Permalink
only run deploy if is the upstream repo (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpanato authored May 22, 2024
1 parent 8f1603b commit b505f60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
deploy:
runs-on: ubuntu-latest

if: github.repository == 'octo-sts/app'

permissions:
contents: read # clone the repository contents
id-token: write # federates with GCP
Expand Down

0 comments on commit b505f60

Please sign in to comment.