Skip to content

Commit

Permalink
fix(release-actions): set proper global permissions
Browse files Browse the repository at this point in the history
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
  • Loading branch information
neilime committed Apr 3, 2024
1 parent 5a079c3 commit ab3446a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/release-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ on:
branches: [main]
tags: ["*"]

permissions:
actions: write
contents: write
pull-requests: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ on:
description: "GitHub App private key to generate GitHub token in place of github-token. See https://github.com/actions/create-github-app-token"

permissions:
contents: read
actions: write
contents: write
pull-requests: write

jobs:
prepare-release:
Expand Down

0 comments on commit ab3446a

Please sign in to comment.