diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f01cdf4c..fde834d7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,6 +14,9 @@ on: env: DOCKERHUB_SLUG: distribution/distribution +permissions: + contents: read # to fetch code (actions/checkout) + jobs: test: runs-on: ubuntu-latest @@ -43,6 +46,9 @@ jobs: directory: ./ build: + permissions: + contents: write # to create GitHub release (softprops/action-gh-release) + runs-on: ubuntu-latest needs: - test