Skip to content

Create Repository Labels #161

Create Repository Labels

Create Repository Labels #161

Workflow file for this run

---
"on":
push:
branches:
- trunk
paths:
- .github/labels.yaml
- .github/workflows/repo-labels.yaml
pull_request:
branches:
- trunk
paths:
- .github/labels.yaml
- .github/workflows/repo-labels.yaml
schedule:
- cron: "0 0 * * TUE"
name: Create Repository Labels
jobs:
labels:
name: Synchronize repository labels
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- name: Sync GitHub Issue Labels
uses: crazy-max/ghaction-github-labeler@b54af0c25861143e7c8813d7cbbf46d2c341680c # v5.1.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
yaml-file: .github/labels.yaml
skip-delete: false
dry-run: ${{ github.ref != 'refs/heads/trunk' }}