fix: make pre-activation app token generation resilient to missing app installation#21833
Closed
fix: make pre-activation app token generation resilient to missing app installation#21833
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…allation Add continue-on-error: true to the GitHub App token mint step in the pre-activation job, and fall back to github.token in skip-if check steps when the app token is empty (e.g. app not installed on the repository). This fixes the Issue Monster workflow which has been failing for hundreds of runs because the GitHub App (vars.APP_ID) is not installed on github/gh-aw: the token generation returned HTTP 404, hard-failing pre_activation and causing all downstream jobs to be skipped. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
pelikhan
March 19, 2026 17:55
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Issue Monster workflow (and any workflow importing
shared/activation-app.md) has been failing for hundreds of consecutive runs. The "Generate GitHub App token for skip-if checks" step hard-fails with HTTP 404 whenvars.APP_IDpoints to a GitHub App not installed on the repo, taking down the entirepre_activationjob and skipping all downstream jobs.Changes
buildPreActivationAppTokenMintStep: Addedcontinue-on-error: trueto the app token mint step so a missing installation no longer fails the jobresolvePreActivationSkipIfToken: Updated the token expression to fall back togithub.tokenwhen the app token is unavailable:skip_if_match_test.go,skip_if_no_match_test.go): Updated assertions to expect the new fallback expressionissue-monster.lock.yml: Recompiled