From 00675313c63bdb5484b906bd7dde4fede1dc2f99 Mon Sep 17 00:00:00 2001 From: Tom Arra Date: Wed, 21 Feb 2024 10:00:05 -0600 Subject: [PATCH] feat: add sync labels action (#59) --- .github/workflows/sync_labels.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/sync_labels.yaml diff --git a/.github/workflows/sync_labels.yaml b/.github/workflows/sync_labels.yaml new file mode 100644 index 0000000..030876e --- /dev/null +++ b/.github/workflows/sync_labels.yaml @@ -0,0 +1,22 @@ +name: ♻️ Sync Labels + +on: + push: + paths: + - .github/labels.yml + branches: + - main + workflow_dispatch: + +jobs: + labels: + name: ♻️ Sync labels + runs-on: ubuntu-20.04 + steps: + - name: ⤵️ Check out code from GitHub + uses: actions/checkout@v4 + + - name: 🚀 Run Label Sync + uses: srealmoreno/label-sync-action@v1 + with: + config-file: https://raw.githubusercontent.com/VeryGoodOpenSource/.github/main/.github/labels.yml