Skip to content

Commit

Permalink
Merge pull request #38690 from Expensify/marco-skipDeployActionFromForks
Browse files Browse the repository at this point in the history
[No QA] Skip deploy action if PR is coming from a fork
  • Loading branch information
roryabraham authored Mar 21, 2024
2 parents 23d2359 + 4eb2d2f commit 96716fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deployExpensifyHelp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
- name: Deploy to Cloudflare Pages
uses: cloudflare/pages-action@f0a1cd58cd66095dee69bfa18fa5efd1dde93bca
id: deploy
if: github.event_name != 'pull_request' || (github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork)
with:
apiToken: ${{ secrets.CLOUDFLARE_PAGES_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
Expand Down

0 comments on commit 96716fb

Please sign in to comment.