From 911b0b67e7b57211fe0036e7db4915c99b822651 Mon Sep 17 00:00:00 2001 From: rwanoux Date: Tue, 19 Nov 2024 06:59:29 +0100 Subject: [PATCH] adding permission to github action --- .github/workflows/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9d69d58..03094f9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,9 +7,11 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + contents: write steps: - - uses: actions/checkout@v2 - + - name: Checkout Repository + uses: actions/checkout@v3 # get part of the tag after the `v` - name: Extract tag version number id: get_version