Closed vio closed 2 years ago
There are multiple issues when trying to run the agent with PRs from forks:
pull_request
event is not reporting the same data as push
pull_request
is not exposing secrets for builds triggered from forksTo do:
@relative-ci/agent@1.5.1-beta.2
)env-ci
to extract the correct data (https://github.com/pvdlg/env-ci/issues/96)Ready for testing using relative-ci/agent-action@workflow-run-support GitHub action.
Documentation: https://relative-ci.com/documentation/setup/agent/github-action/#workflows-triggered-by-forked-repositories-beta Example: https://github.com/relative-ci/example-github-action-fork-pull-request
Support for workflows triggered by forked repository is now available on relative-ci/agent-action@v2
pull_request
,pull_request_target
)