Browse Source

Add permissions to steps

shutdown-taker-if-no-maker-present
itchymax 3 years ago
parent
commit
3a8e09eacc
No known key found for this signature in database GPG Key ID: E5F8E74C672BC666
  1. 3
      .github/workflows/build-release-binary.yml
  2. 3
      .github/workflows/release-docker.yml

3
.github/workflows/build-release-binary.yml

@ -160,6 +160,9 @@ jobs:
needs: build_binaries
name: Build docker images
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:

3
.github/workflows/release-docker.yml

@ -12,6 +12,9 @@ jobs:
build_docker_image:
name: Build docker images
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:

Loading…
Cancel
Save