Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/backport-label-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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@main
permissions:
pull-requests: write # necessary to be able to remove labels from PRs
with:
version: ${{ inputs.version }}
dry_run: ${{ inputs.dry_run }}