Give contents:write permission to jobs

This commit is contained in:
GoldenJaden 2023-12-06 01:11:45 +03:00
parent 494d6e4b9b
commit f50f0ee6bd
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