Skip to content

[CI] Run CI on external fork PRs via approved-for-ci-run label#458

Open
elenagaljak-db wants to merge 1 commit into
mainfrom
elenagaljak-db-ci
Open

[CI] Run CI on external fork PRs via approved-for-ci-run label#458
elenagaljak-db wants to merge 1 commit into
mainfrom
elenagaljak-db-ci

Conversation

@elenagaljak-db

@elenagaljak-db elenagaljak-db commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

What changes are proposed in this pull request?

Fork PRs can't run CI: GitHub denies them the OIDC token, so the JFrog auth step fails (ACTIONS_ID_TOKEN_REQUEST_TOKEN unbound).

This adds a pull_request_target workflow: a maintainer (write access)reviews the fork code and adds the approved-for-ci-run label, whichmirrors the PR into an internal ci-run/pr-<N> branch + PR. As a same-repo PR it gets OIDC, so JFrog auth and full CI run normally.
The label is auto-removed so each push needs re-approval.

Requires: approved-for-ci-run label, CI_APP_ID + CI_APP_PRIVATE_KEY secrets, and PR-write on the CI GitHub App.

How is this tested?

@elenagaljak-db elenagaljak-db self-assigned this Jun 30, 2026
@elenagaljak-db elenagaljak-db marked this pull request as ready for review June 30, 2026 16:09
@elenagaljak-db elenagaljak-db added the enhancement New feature or request label Jun 30, 2026
Signed-off-by: elenagaljak-db <elena.galjak@databricks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant