Fix GitHub Actions permissions for add-on publishing

- Add packages:write permission to build job
- Add contents:write permission to update-repository job
- Bump version to 1.0.1
This commit is contained in:
eduard256
2025-11-17 23:45:34 +03:00
parent 16bef455ae
commit 95a0fc2096
3 changed files with 13 additions and 1 deletions
+5
View File
@@ -26,6 +26,9 @@ jobs:
build:
name: Build Add-on
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
strategy:
matrix:
arch: [aarch64, amd64, armv7]
@@ -108,6 +111,8 @@ jobs:
needs: build
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4