-
Notifications
You must be signed in to change notification settings - Fork 10
Description
What problem does your feature solve?
The tibdex/github-app-token action used in update-completed-sprint-on-issue-closed.yml workflows across stellar org repos is a third-party action, but it has its version as a branch/tag instead of a SHA. Also the action is archived and has in its README a statement directing users to migrate to actions/create-github-app-token.
Per GitHub's security hardening documentation, third-party actions should be pinned to a full-length commit SHA rather than a tag, because tags can be moved or deleted if a bad actor gains access to the repository. A compromise of a single action within a workflow can be significant, as the compromised action would have access to all secrets configured on the repository.
What would you like to see?
Migrate all stellar org repos to use actions/create-github-app-token@v1, GitHub's official first-party alternative. Using the official action removes the need for SHA pinning since GitHub-maintained actions are trusted and verified.
Affected public repos (20):
- stellar/go-stellar-sdk Migrate to actions/create-github-app-token go-stellar-sdk#5894
- stellar/js-stellar-sdk Migrate to actions/create-github-app-token js-stellar-sdk#1316
- stellar/helm-charts Migrate to actions/create-github-app-token helm-charts#146
- stellar/soroban-example-dapp Migrate to actions/create-github-app-token soroban-example-dapp#174
- stellar/js-stellar-base Migrate to actions/create-github-app-token js-stellar-base#830
- stellar/stellar-rpc Migrate to actions/create-github-app-token stellar-rpc#580
- stellar/stellar-galexie Migrate to actions/create-github-app-token stellar-galexie#55
- stellar/stellar-horizon Migrate to actions/create-github-app-token stellar-horizon#146
- stellar/system-test Migrate to actions/create-github-app-token system-test#151
- stellar/friendbot Migrate to actions/create-github-app-token friendbot#41
Private repos using this workflow also need updating.
Change required in each repo:
- uses: tibdex/github-app-token@v1
+ uses: actions/create-github-app-token@v1What alternatives are there?
Pin tibdex/github-app-token to a full-length commit SHA instead of a tag version.
cc @stellar/platform-eng @stellar/enterprise-eng