From bc6eea2982bcb6310cf7febf95e79000b00bb4ff Mon Sep 17 00:00:00 2001 From: Amanda Moraes Date: Wed, 30 Mar 2022 17:25:48 -0300 Subject: [PATCH] ci(versioning): add Verify-PR-Labels GitHub workflow --- .github/workflows/verify-pr-labels.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/verify-pr-labels.yml diff --git a/.github/workflows/verify-pr-labels.yml b/.github/workflows/verify-pr-labels.yml new file mode 100644 index 000000000..b75405304 --- /dev/null +++ b/.github/workflows/verify-pr-labels.yml @@ -0,0 +1,18 @@ +name: Verify Pull Request Labels + +on: + pull_request: + types: [opened, reopened, labeled, unlabeled, synchronize] + branches: + - main + +jobs: + verify: + runs-on: ubuntu-latest + steps: + - uses: jesusvasquez333/verify-pr-label-action@v1.4.0 + with: + github-token: '${{ secrets.GITHUB_TOKEN }}' + valid-labels: 'release-no, release-auto, release-patch, release-minor, release-major' + invalid-labels: '' + pull-request-number: '${{ github.event.pull_request.number }}'