Skip to content

Commit

Permalink
fix: add permissions to no-response workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Nov 13, 2023
1 parent e9a768c commit ba50925
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,15 @@ on:
- cron: "5 3 * * *"
workflow_dispatch:

permissions:
issues: write
pull-requests: write

concurrency:
group: lock

jobs:
action:
lock:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: dessant/lock-threads@v4
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/no-response.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ on:
jobs:
noResponse:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: lee-dohm/[email protected]
with:
token: ${{ github.token }}
daysUntilClose: 7
responseRequiredLabel: waiting on op

0 comments on commit ba50925

Please sign in to comment.