Commit a7ebdb3
authored
Set up workflow permissions for trusted publishing (#1644)
### Change summary
This PR updates the `publish_release.yml` workflow file:
1. enables the permission `id-token: write` for OpenID Connect (OIDC)
authentication for use with [Trusted Publishing with
npmjs](https://docs.npmjs.com/trusted-publishers)
2. removes the auth token as it's no longer used when Trusted Publishing
is used
<!--
Briefly describe the changes introduced in this pull request. Include
context or
reasoning behind the changes, even if they seem minor. If relevant, link
to any
related discussions (e.g. Slack threads, tickets, documents).
-->
All Submissions:
* [x] Have you followed the guidelines in our Contributing document?
* [x] Have you checked to ensure there aren't other open [Pull
Requests](https://github.com/fastly/cli/pulls) for the same
update/change?
<!-- You can erase any parts of this template not applicable to your
Pull Request. -->
### New Feature Submissions:
* [ ] Does your submission pass tests?
N/A
### Changes to Core Features:
* [ ] Have you written new tests for your core changes, as applicable?
* [ ] Have you successfully run tests with your changes locally?
N/A
### User Impact
None
<!-- What is the user impact of this change? -->
### Are there any considerations that need to be addressed for release?
None
<!-- Any breaking changes, etc -->1 parent a5f999a commit a7ebdb3
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
| |||
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
28 | | - | |
29 | | - | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
0 commit comments