You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: post PR-open skip check inline for internal PRs (fix waiting-for-status hang)
Follow-up to the previous commit. Removing the inline PR-open poster in favour
of the workflow_run reporter created a bootstrap gap: workflow_run workflows
only run from the DEFAULT-branch copy, so on this PR (and any introducing PR)
the reporter can't fire and NOTHING posts 'Python Integration Tests' on the PR
head — the required check sits 'Expected — Waiting for status to be reported'
forever.
Fix: split the placeholder by PR origin, both posting as the driver-test app
(the identity the ruleset pins the required check to):
- Internal PRs: restore skip-integration-tests-pr in trigger-integration-tests.yml,
now minting the INTEGRATION_TEST_APP token (not github.token) and self-guarded
to head repo == base repo. Posts from the PR branch immediately — no label, no
workflow_run dependency. This is what unblocks internal PRs like this one.
- Fork PRs: skip-checks-reporter.yml (workflow_run) now self-guards to fork runs
(head repo != base repo), since a fork's pull_request run can't mint secrets
inline. The two guards are mutually exclusive — no double-post.
Behaviour matches the intent: skipped placeholder on PR open, real run in the
merge queue (and label preview). The merge-queue app-token posts from the prior
commit are unchanged.
Co-authored-by: Isaac
summary: 'Python Integration Tests are skipped on PRs and run as the required gate in the merge queue. Add the `integration-test` label to preview them on this PR.'
0 commit comments