Skip to content

Commit fac8a60

Browse files
chore(deps): update create-github-app-token to 3.2.0 (#159)
## Related Issue No linked issue. This is an automated dependency update. ## Problem The release workflow uses an older pinned revision of `actions/create-github-app-token`. ## What changed - Update both release token steps from v2 to the pinned v3.2.0 commit. - Restrict the release-bot token to contents, pull-request, and issue writes. - Keep the Homebrew tap token restricted to contents writes. ## Checklist - [x] I have read the [CONTRIBUTING](https://github.com/PyModel/pythinker-code/blob/main/CONTRIBUTING.md) document. - [x] A related issue is not applicable to this automated dependency update. - [x] Required current-head CI validates the workflow update. - [x] No changeset is needed because users cannot perceive this workflow-only update. - [x] No documentation update is needed. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: M Elkholy <melkholy@techmatrix.com>
1 parent 1a3b51a commit fac8a60

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,13 @@ jobs:
160160

161161
- name: Mint release-bot token
162162
id: release-bot
163-
uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # pinned from v2
163+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # pinned from v3.2.0
164164
with:
165165
app-id: ${{ vars.RELEASE_BOT_APP_ID }}
166166
private-key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }}
167+
permission-contents: write
168+
permission-pull-requests: write
169+
permission-issues: write
167170

168171
- name: Create Release Pull Request or Publish to npm
169172
id: changesets
@@ -507,7 +510,7 @@ jobs:
507510
# Cloning and pushing the tap needs contents and nothing else.
508511
- name: Mint tap token
509512
id: tap-token
510-
uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # pinned from v2
513+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # pinned from v3.2.0
511514
with:
512515
app-id: ${{ vars.RELEASE_BOT_APP_ID }}
513516
private-key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }}

0 commit comments

Comments
 (0)