Skip to content

Commit

Permalink
ci: tweak permissions [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Seavenly committed May 10, 2023
1 parent a0470f2 commit d6c001b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/snapshotCommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ jobs:
name: Commit Snapshots
if: github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
ref: ${{ github.event.workflow_run.head_branch }}
repository: ${{ github.event.workflow_run.head_repository.full_name }}
token: ${{ secrets.COMMIT_TOKEN }}

- name: Download Artifacts
uses: actions/github-script@v3.1.0
Expand Down

0 comments on commit d6c001b

Please sign in to comment.