mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 22:51:59 +00:00
ci: fix permissions when pr-label-validation runs from fork (#12093)
This commit is contained in:
parent
6867bae770
commit
e705831e67
1 changed files with 4 additions and 1 deletions
5
.github/workflows/pr-label-validation.yml
vendored
5
.github/workflows/pr-label-validation.yml
vendored
|
@ -1,12 +1,15 @@
|
|||
name: PR Label Validation
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
types: [opened, labeled, unlabeled, synchronize]
|
||||
|
||||
jobs:
|
||||
validate-release-label:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: read
|
||||
steps:
|
||||
- name: Require PR to have a changelog label
|
||||
uses: mheap/github-action-required-labels@v5
|
||||
|
|
Loading…
Reference in a new issue