Skip to content

Commit

Permalink
ci: Add manage-labels.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed Jan 27, 2025
1 parent 1dc05ff commit 41ba967
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/manage-labels.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: manage-labels
on:
workflow_dispatch:
inputs:
dry:
description: 'Dry run (no changes, log only)'
required: false
default: true
type: boolean
remove_missing:
description: 'Remove labels not present in the source data'
required: false
default: false
type: boolean
jobs:
manage-labels:
permissions:
contents: read
issues: write
runs-on: ubuntu-latest
name: manage-labels
steps:
- uses: actions/checkout@v2
- uses: TwelveIterations/manage-labels@main
with:
dry: ${{ inputs.dry }}
remove_missing: ${{ inputs.remove_missing }}
source: https://raw.githubusercontent.com/TwelveIterationMods/.github/refs/heads/main/labels.yaml
env:
GITHUB_TOKEN: ${{ github.token }}

0 comments on commit 41ba967

Please sign in to comment.