Skip to content

Commit

Permalink
ci(permissions): update permissions requests (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
aali309 authored Nov 20, 2023
1 parent 4f4f12e commit c4f8511
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/dependent-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,16 @@ on:

jobs:
check:
permissions:
pull-requests: write
issues: write
statuses: write
runs-on: ubuntu-latest
steps:
- uses: z0al/dependent-issues@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions: write
with:
# (Optional) Enable checking for dependencies in issues.
# Enable by setting the value to "on". Default "off"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ jobs:
start-comment:
runs-on: ubuntu-latest
needs: [check-before-build]
permissions:
pull-requests: write
steps:
- name: Leave Actions Run Comment
uses: actions/github-script@v6
Expand Down

0 comments on commit c4f8511

Please sign in to comment.