Skip to content

Commit

Permalink
Add minimal permissions to some actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanTAllen committed Jan 26, 2025
1 parent 100e301 commit 7c01254
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/prepare-for-a-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:

concurrency: prepare-for-a-release

permissions:
packages: read
contents: write

jobs:
# all tasks that need to be done before we add an X.Y.Z tag
# should be done as a step in the pre-tagging job.
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
- .release-notes/next-release.md
- .release-notes/\d+.\d+.\d+.md

permissions:
packages: read
contents: write

jobs:
release-notes:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:

concurrency: release

permissions:
packages: write
contents: write

jobs:
# validation to assure that we should in fact continue with the release should
# be done here. the primary reason for this step is to verify that the release
Expand Down

0 comments on commit 7c01254

Please sign in to comment.