Skip to content

fix: use pull_request to allow to run workflow on PRs from forks - #590

Draft
b1tamara wants to merge 1 commit into
developfrom
adapt-tests-workflow
Draft

b1tamara wants to merge 1 commit into
developfrom
adapt-tests-workflow

Conversation

@b1tamara

@b1tamara b1tamara commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Summary

Currently, the tests workflow cannot be executed on PRs from the forked repositories. pull_request_target, actions/checkout refuses to check out fork PR code ("Refusing to check out fork pull request code from a 'pull_request_target' workflow"), blocking CI for fork-based PRs. The tests-workflow.yml uses no repository secrets, so the elevated pull_request_target context provided no benefit
Move from pull_request_target to pull_request. The jobs only pull public images, clone public CI repos, and run Go tests.

Backward Compatibility

Breaking Change? Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant