Skip to content

Commit

Permalink
fix: removed wrong permissions from lock-file-maintenance.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
prisis committed Jul 3, 2024
1 parent 955cc0d commit f223b0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lock-file-maintenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ permissions:
jobs:
stale-issues:
uses: "anolilab/workflows/.github/workflows/lock-file-maintenance.yml@main"
permissions:
contents: "write" # commit and push
with:
target-repo: "visulima/visulima"
```
5 changes: 1 addition & 4 deletions .github/workflows/lock-file-maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ jobs:
if: "github.repository == inputs.target-repo"
runs-on: "ubuntu-latest"
permissions:
contents: "write" # to be able to publish a GitHub release
issues: "write" # to be able to comment on released issues
pull-requests: "write" # to be able to comment on released pull requests
id-token: "write" # to enable use of OIDC for npm provenance
contents: "write"

steps:
- name: "Harden Runner"
Expand Down

0 comments on commit f223b0b

Please sign in to comment.