adding permission to github action

This commit is contained in:
rwanoux
2024-11-19 06:59:29 +01:00
parent d8cc16526f
commit 911b0b67e7
+4 -2
View File
@@ -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