Skip to content

Commit

Permalink
workflows: Set write permissions for the GitHub token contents
Browse files Browse the repository at this point in the history
This is necessary because, otherwise, marvinpinto/action-automatic-releases@latest would fail with the following error:  Attempting to create or update release tag "latest"
  Could not create new tag "refs/tags/latest" (Resource not accessible by integration) therefore updating existing tag "tags/latest"
  • Loading branch information
Sought committed Apr 1, 2023
1 parent 4833c39 commit 3948f8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: ReVanced Build
on:
workflow_dispatch:

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3948f8f

Please sign in to comment.