We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6738a18 commit d699d5fCopy full SHA for d699d5f
.github/workflows/ci.yml
@@ -63,7 +63,7 @@ jobs:
63
runs-on: ubuntu-latest
64
needs: changes
65
if: ${{ contains(fromJSON(needs.changes.outputs.paths), 'src') }}
66
- environment: ${{ github.event.pull_request.head.repo.fork == true && 'prod-external' || 'prod' }}
+ environment: ${{ (github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository) && 'prod-external' || 'prod' }}
67
env:
68
GITHUB_TOKEN: ${{ secrets.github_token }}
69
LINODE_TOKEN: ${{ secrets.LINODE_TOKEN }}
0 commit comments