Skip to content

Fix github actions release job permissions#4155

Closed
foot wants to merge 2 commits intomainfrom
pr-releases-github-token
Closed

Fix github actions release job permissions#4155
foot wants to merge 2 commits intomainfrom
pr-releases-github-token

Conversation

@foot
Copy link
Copy Markdown
Contributor

@foot foot commented Dec 4, 2023

What changed?

Why was this change made?

  • The release task was failing with a 401
  • The existing token may have have been revoked or expired

How was this change implemented?

Fiddling w/ the github action yaml and reading some docs https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

How did you validate the change?

Opening this PR w/ the adapted token code, the release job now passes.

foot and others added 2 commits December 4, 2023 13:32
- Try and use provided token after requesting permissions
Bumps [@adobe/css-tools](https://github.com/adobe/css-tools) from 4.3.1 to 4.3.2.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md)
- [Commits](https://github.com/adobe/css-tools/commits)

---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@foot foot marked this pull request as ready for review December 4, 2023 12:39
@foot foot requested a review from enekofb December 4, 2023 12:39
@foot foot closed this Dec 4, 2023
@foot foot deleted the pr-releases-github-token branch December 4, 2023 15:02
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