Skip to content

Commit

Permalink
ci(permissions): defined appropriate permissions for publishing
Browse files Browse the repository at this point in the history
Co-authored-by: Julie Van Kirk <VanKirkJulieA@JohnDeere.com>
Co-authored-by: Douglas Johnson <JohnsonDouglas@JohnDeere.com>
  • Loading branch information
3 people committed Jan 4, 2024
1 parent 6f351a9 commit ddb8877
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Expand Up @@ -4,8 +4,15 @@ name: Release
branches:
- master
- beta
permissions:
contents: read # for checkout
jobs:
release:
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
name: release
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit ddb8877

Please sign in to comment.