Skip to content

fix: allow fork PRs to access secrets in deploy workflow#481

Open
poespas wants to merge 2 commits intomasterfrom
fix/deploy-workflow-fork-secrets
Open

fix: allow fork PRs to access secrets in deploy workflow#481
poespas wants to merge 2 commits intomasterfrom
fix/deploy-workflow-fork-secrets

Conversation

@poespas
Copy link
Copy Markdown
Collaborator

@poespas poespas commented May 6, 2026

Use pull_request_target instead of pull_request to run the workflow in the context of the base repository, enabling secrets access for fork PRs. Explicitly checkout PR head SHA to build the correct code.

Jonathan Visser added 2 commits May 6, 2026 14:57
Use pull_request_target instead of pull_request to run the workflow
in the context of the base repository, enabling secrets access for
fork PRs. Explicitly checkout PR head SHA to build the correct code.
Use pull_request_target to enable write access for fork PRs.
Upgrade actions/checkout to v4 and actions/setup-python to v5
to address Node.js 20 deprecation warning.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant