Files
macos_security/.github/workflows/label-sync.yaml
Stephen Beale 5fd93435d6 refactor(actions): Correct python linting
- Add if checks to all steps for if files are changed
2025-08-06 14:08:55 -06:00

31 lines
631 B
YAML

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Label Sync"
on:
workflow_dispatch:
push:
branches:
- dev_2.0
paths: [".github/labels.yaml"]
pull_request_target:
types: [opened, synchronize, reopened]
branches:
- dev_2.0
paths-ignore:
- 'archive/**'
jobs:
label-sync:
name: Label Sync
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Sync Labels
uses: EndBug/label-sync@v2
with:
config-file: .github/labels.yaml
delete-other-labels: true