diff --git a/.github/workflows/labels.yaml b/.github/workflows/labels.yaml new file mode 100644 index 00000000..8df3cf01 --- /dev/null +++ b/.github/workflows/labels.yaml @@ -0,0 +1,23 @@ +--- +name: Sync labels + +# yamllint disable-line rule:truthy +on: + push: + branches: + - main + paths: + - .github/labels.yml + workflow_dispatch: + +jobs: + labels: + name: Sync labels + runs-on: ubuntu-latest + steps: + - name: Check out code from GitHub + uses: actions/checkout@v3 + - name: Run Label Syncer + uses: micnncim/action-label-syncer@v1.3.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}