Support contribution policy label overrides

This commit is contained in:
Gregory Schier
2026-06-30 14:15:37 -07:00
parent 5f14d90ccd
commit 83c8371e94
2 changed files with 130 additions and 14 deletions
+4 -1
View File
@@ -8,11 +8,13 @@ on:
required: true
default: true
type: boolean
pull_request_target:
types: [labeled, unlabeled]
permissions:
contents: read
issues: write
pull-requests: read
pull-requests: write
jobs:
check:
@@ -22,6 +24,7 @@ jobs:
- name: Checkout policy script
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.sha || github.ref }}
fetch-depth: 1
- name: Check contribution policy