mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Fix permissions for label Ready to Merge on approved pull requests
This commit is contained in:
6
.github/workflows/pr-label-on-approved.yml
vendored
6
.github/workflows/pr-label-on-approved.yml
vendored
@@ -1,5 +1,11 @@
|
||||
on: pull_request_review
|
||||
name: Label approved pull requests
|
||||
|
||||
permissions:
|
||||
contents: read # Required for checking changed files
|
||||
pull-requests: write # Required for labeling PRs
|
||||
issues: write # Required for adding/removing labels
|
||||
|
||||
jobs:
|
||||
labelWhenApproved:
|
||||
if: ${{ github.repository_owner == 'armbian' }}
|
||||
|
||||
Reference in New Issue
Block a user