Give contents:write permission to jobs (#2549)

This commit is contained in:
Gusev Yaroslav 2023-12-06 16:54:54 +07:00 committed by GitHub
parent 494d6e4b9b
commit 8726f8bdfa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -42,6 +42,8 @@ jobs:
bump-version:
needs: check-for-no-version-changing
runs-on: ubuntu-latest
permissions:
contents: write
steps:
# Checkout to target branch
- uses: actions/checkout@v2

View file

@ -45,6 +45,8 @@ jobs:
release-draft:
needs: check-version-changing
runs-on: ubuntu-latest
permissions:
contents: write
steps:
# Checkout to target branch
- uses: actions/checkout@v2