Skip to content

Improve ISO update workflow: close stale PRs and use GitHub App token#710

Merged
3alpha merged 1 commit into
masterfrom
auto/update-base-isos-workflow-v2
May 28, 2026
Merged

Improve ISO update workflow: close stale PRs and use GitHub App token#710
3alpha merged 1 commit into
masterfrom
auto/update-base-isos-workflow-v2

Conversation

@3alpha
Copy link
Copy Markdown
Member

@3alpha 3alpha commented May 28, 2026

Improves the update-base-isos workflow with two changes:

1. Close outdated PRs before opening new ones
If a previous auto-PR for an ISO update is still open when a newer version is detected, the workflow now closes it with a comment explaining it was superseded, then opens a fresh PR for the latest version.

2. Use GitHub App token (TROPI_APP_ID / TROPI_APP_PRIVATE_KEY)
Replaces secrets.GITHUB_TOKEN with a token generated via actions/create-github-app-token. This ensures CI workflows are triggered on the auto-created PRs (the default GITHUB_TOKEN does not trigger downstream workflows by design).

@3alpha 3alpha requested a review from a team as a code owner May 28, 2026 14:08
@3alpha 3alpha merged commit f34b15b into master May 28, 2026
10 of 12 checks passed
@3alpha 3alpha deleted the auto/update-base-isos-workflow-v2 branch May 28, 2026 14:09
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