diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2025-06-26 22:06:12 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2025-06-26 22:06:12 -0500 |
| commit | eecd150bc7012562cd28ed3140b5dd3fd04cf637 (patch) | |
| tree | ff6ded65b2deeded77ca2383451d0cbf67361240 /.github | |
| parent | 18abed6f86b1241147e853c86f9a731fb9f3d26d (diff) | |
| download | immich-frame-eecd150bc7012562cd28ed3140b5dd3fd04cf637.tar.xz immich-frame-eecd150bc7012562cd28ed3140b5dd3fd04cf637.zip | |
add write permissions to actions
Diffstat (limited to '.github')
| -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 }} |
