diff --git a/.github/workflows/sync-labels.yaml b/.github/workflows/sync-labels.yaml new file mode 100644 index 0000000..a763bb8 --- /dev/null +++ b/.github/workflows/sync-labels.yaml @@ -0,0 +1,33 @@ +name: Sync Labels + +on: + push: + branches: + - main + paths: + # The labels file + - labels.yml + # This workflow + - .github/workflows/sync-labels.yaml + + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Sync Labels + uses: micnncim/action-label-syncer@v1 + with: + manifest: labels.yml + prune: true + repository: | + GulfWindTech/.github + GulfWindTech/dlc-service + GulfWindTech/openfast-service + GulfWindTech/turbsim-service + + token: ${{ secrets.LABEL_SYNC_TOKEN_GITHUB }}