diff options
| -rw-r--r-- | .github/workflows/pyinstaller-release.yaml | 2 | ||||
| -rw-r--r-- | .github/workflows/release-on-tag.yaml | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/pyinstaller-release.yaml b/.github/workflows/pyinstaller-release.yaml index da3596f..b3c1402 100644 --- a/.github/workflows/pyinstaller-release.yaml +++ b/.github/workflows/pyinstaller-release.yaml @@ -97,6 +97,8 @@ jobs: release: needs: pyinstaller runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/release-on-tag.yaml b/.github/workflows/release-on-tag.yaml index ef4c91c..7ec26be 100644 --- a/.github/workflows/release-on-tag.yaml +++ b/.github/workflows/release-on-tag.yaml @@ -3,11 +3,13 @@ name: Create Release on: push: tags: - - 'v*' # This will trigger the action when you push a tag like v1.0, v1.1, etc. + - 'v*' jobs: release: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout code uses: actions/checkout@v4 @@ -20,4 +22,4 @@ jobs: - name: Create Release uses: softprops/action-gh-release@v2 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Automatically provided by GitHub Actions + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
