Skip to content

PS-11078 [9.7]: Skip orphan-sweep runs on forks#6088

Open
nogueiraanderson wants to merge 1 commit into
9.7from
PS-11078-orphan-sweep-fork-guard-9.7
Open

PS-11078 [9.7]: Skip orphan-sweep runs on forks#6088
nogueiraanderson wants to merge 1 commit into
9.7from
PS-11078-orphan-sweep-fork-guard-9.7

Conversation

@nogueiraanderson

@nogueiraanderson nogueiraanderson commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Bug

  • Forks with Actions enabled inherit the hourly orphan-sweep cron and fail every run: the fork has no GHA_RUNNER_HCLOUD_TOKEN, and the AWS OIDC trust rejects fork subjects by design. The fork owner gets a failure email every hour.

Fix

  • Job-level if: github.repository == 'percona/percona-server' on both jobs, so the workflow no-ops outside the canonical repo.

Tickets

- Job-level repository guard on both jobs so forks with Actions enabled
  stop inheriting the hourly cron, which fails without the canonical
  repo's secrets and OIDC trust and emails the fork owner every hour.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant