Skip to content

ci(github-actions): get cooked on labels #2

ci(github-actions): get cooked on labels

ci(github-actions): get cooked on labels #2

name: TriageOps - Labels Manager
on:
push:
branches:
- 'main'
paths:
- '.github/labels.yml'
- '.github/workflows/triageops-labels.yml'
pull_request:
paths:
- '.github/labels.yml'
- '.github/workflows/triageops-labels.yml'
workflow_dispatch:
inputs:
dry-run:
description: 'Run in dry-run mode'
required: false
default: true
type: boolean
jobs:
labeler:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Automate labels management
uses: crazy-max/ghaction-github-labeler@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
yaml-file: .github/labels.yml
dry-run: ${{ inputs.dry-run == 'true' || github.event_name == 'pull_request'}}
exclude: |
help*
*issue