ci: GitHub App credentials from Bitwarden via scanoss/actions - #162
Merged
Merged
Conversation
The mint step read the App's id and private key from the organisation's GH_APP_ID / GH_APP_PRIVATE_KEY secrets — one of several copies of the same credential across the organisation. It now calls scanoss/actions/github-app-token, which reads them from Bitwarden Secrets Manager and mints a one-hour token scoped to homebrew-dist. The only secret this repository needs is BWS_ACCESS_TOKEN. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
SCANOSS SCAN Completed 🚀
View more details on SCANOSS Action Summary |
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 one step here that acted as the
scanoss-automationApp read the App's id and private key from the organisation-levelGH_APP_ID/GH_APP_PRIVATE_KEYsecrets. It now usesscanoss/actions/github-app-token@v1, which reads them from Bitwarden Secrets Manager and mints a one-hour token scoped tohomebrew-dist. The only secret this repository needs isBWS_ACCESS_TOKEN(already set).This workflow is not triggered by pull requests, so this PR's checks do not exercise it; the same layer is proven in scanoss/owlie#2 and in earnie and scanoss.api on
main. Once merged, the organisation-levelGH_APP_*pair has no consumer left and can be deleted.🤖 Generated with Claude Code