-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
29 lines (27 loc) · 955 Bytes
/
backport-label-audit.yml
File metadata and controls
29 lines (27 loc) · 955 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Backport Label Audit
# Run this workflow manually to audit backport labels on pull requests
# and remove labels from PRs that have already been backported.
# Optionally specify a release version to limit the audit to that version
on:
workflow_dispatch:
inputs:
version:
description: 'Release version to audit (e.g., 1.13). Leave empty to audit all versions.'
required: false
type: string
dry_run:
description: 'Dry run (only report, do not modify)'
required: true
type: choice
options:
- 'true'
- 'false'
default: 'true'
jobs:
audit:
uses: JuliaLang/backporter-github-actions-workflows/.github/workflows/audit.yml@f0cf777a492c5ff31196822a7d643a17ee0efbd1 # main
permissions:
pull-requests: write # necessary to be able to remove labels from PRs
with:
version: ${{ inputs.version }}
dry_run: ${{ inputs.dry_run }}