diff --git a/.github/workflows/labels.yaml b/.github/workflows/labels.yaml new file mode 100644 index 0000000..c50301e --- /dev/null +++ b/.github/workflows/labels.yaml @@ -0,0 +1,21 @@ +name: labels +on: + pull_request: + types: + - synchronize + - opened + - reopened + - labeled + - unlabeled +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number }} + cancel-in-progress: true +jobs: + label_check: + name: check labels + runs-on: ubuntu-22.04 + if: github.event_name == 'pull_request' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + steps: + - uses: WillAbides/release-train@v1.6.1