Skip to content

Commit

Permalink
Explicitly add permissions to GitHub actions (#2744)
Browse files Browse the repository at this point in the history
Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com>
  • Loading branch information
sashashura committed Sep 5, 2022
1 parent 530558a commit 0753d48
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -14,6 +14,9 @@ on:
pull_request:
branches: ['**']

permissions:
contents: read

jobs:

#
Expand Down Expand Up @@ -81,6 +84,8 @@ jobs:
# Release job, only for pushes to the main development branch
#
release:
permissions:
contents: write
runs-on: ubuntu-latest
needs: [build] # build job must pass before we can release

Expand Down

0 comments on commit 0753d48

Please sign in to comment.