From 1fae5c2e67adc923b92311242d62e6723b692aa7 Mon Sep 17 00:00:00 2001 From: abalias Date: Thu, 15 Jun 2023 16:37:50 +0100 Subject: [PATCH] ci: enable pr title linting [skip ci] (#550) --- .github/workflows/pr-lint.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/pr-lint.yml diff --git a/.github/workflows/pr-lint.yml b/.github/workflows/pr-lint.yml new file mode 100644 index 0000000000..c522a25cfb --- /dev/null +++ b/.github/workflows/pr-lint.yml @@ -0,0 +1,20 @@ +name: "Lint PR" + +on: + pull_request_target: + types: + - opened + - edited + - synchronize + +permissions: + pull-requests: read + +jobs: + main: + name: Validate PR title + runs-on: self-hosted + steps: + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }}