mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-11 01:02:02 +00:00
31 lines
631 B
YAML
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
|