diff --git a/.github/workflows/sync-label.yaml b/.github/workflows/sync-label.yaml new file mode 100644 index 0000000..d3df0f4 --- /dev/null +++ b/.github/workflows/sync-label.yaml @@ -0,0 +1,22 @@ +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json +name: Sync labels +on: + workflow_call: + secrets: + GITHUB_TOKEN: + description: 'GitHub token' + required: true + +jobs: + main: + name: Sync labels + runs-on: ubuntu-latest + + steps: + - name: ⤵️ Check out code from GitHub + uses: actions/checkout@v4 + + - name: 🚀 Run Label Syncer + uses: micnncim/action-label-syncer@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}