mirror of
https://github.com/immich-app/immich.git
synced 2024-11-24 08:52:28 +02:00
ci: fix permissions when pr-label-validation runs from fork (#12093)
This commit is contained in:
parent
6867bae770
commit
e705831e67
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 New Issue
Block a user