From bd04b351dadab248c06641ef66dc29d90a827088 Mon Sep 17 00:00:00 2001 From: Tom Arra Date: Wed, 21 Feb 2024 11:41:09 -0600 Subject: [PATCH] chore: add label sync action (#314) --- .github/workflows/sync_labels.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/sync_labels.yml diff --git a/.github/workflows/sync_labels.yml b/.github/workflows/sync_labels.yml new file mode 100644 index 0000000..030876e --- /dev/null +++ b/.github/workflows/sync_labels.yml @@ -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