From 1068b316b9f66fcaac8d9a4a27d356211009060f Mon Sep 17 00:00:00 2001 From: harmeetsingh11 Date: Wed, 24 Jan 2024 22:26:31 +0530 Subject: [PATCH] feat: add workflow for PR title checker --- .github/workflows/pr-title-checker.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/pr-title-checker.yml diff --git a/.github/workflows/pr-title-checker.yml b/.github/workflows/pr-title-checker.yml new file mode 100644 index 0000000..3dad82d --- /dev/null +++ b/.github/workflows/pr-title-checker.yml @@ -0,0 +1,19 @@ +name: 'PR Title Checker' +on: + pull_request_target: + types: + - opened + - edited + - synchronize + - labeled + - unlabeled + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: thehanimo/pr-title-checker@v1.3.7 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + pass_on_octokit_error: false + configuration_path: '.github/pr-title-checker.json'