Skip to content

Commit

Permalink
ci(workflows): optimize remove-labels rule and permissions (#3397)
Browse files Browse the repository at this point in the history
  • Loading branch information
oljc authored Dec 25, 2024
1 parent 5df412f commit 19bb6a6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/issue-remove-inactive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ permissions:

jobs:
issue-remove-inactive:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: remove inactive
Expand All @@ -19,4 +22,4 @@ jobs:
with:
actions: 'remove-labels'
issue-number: ${{ github.event.issue.number }}
labels: '💤 Inactive'
labels: '💤 Inactive, 📄 Need more info'

0 comments on commit 19bb6a6

Please sign in to comment.