1
0
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:
Zack Pollard 2024-08-28 16:33:21 +01:00 committed by GitHub
parent 6867bae770
commit e705831e67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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