From b9aa791901183783cb8710e3bc3a703e177cbadc Mon Sep 17 00:00:00 2001 From: Alex <93376818+sashashura@users.noreply.github.com> Date: Wed, 31 Aug 2022 06:26:57 +0100 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e44e460c0..3edc51ff2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,11 +4,16 @@ on: create: branches: master +permissions: + contents: read + # I used the following project as template to get started: # https://github.com/dessant/search-by-image/blob/master/.github/workflows/ci.yml jobs: build: + permissions: + contents: write # for creating release name: Build packages runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/')