From 7cd722ff3abbad96b3e7d55713bed319043c3d1e Mon Sep 17 00:00:00 2001 From: gegoune <69750637+gegoune@users.noreply.github.com> Date: Mon, 3 Apr 2023 07:21:52 +0300 Subject: [PATCH] ci: ensure PR subjects follow semantic commit spec (#2096) --- .github/workflows/semantic-pr-subject.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/semantic-pr-subject.yml diff --git a/.github/workflows/semantic-pr-subject.yml b/.github/workflows/semantic-pr-subject.yml new file mode 100644 index 00000000..5b9554f5 --- /dev/null +++ b/.github/workflows/semantic-pr-subject.yml @@ -0,0 +1,15 @@ +name: Semantic Pull Request Subject +on: + pull_request: + types: + - opened + - reopened + - edited + - synchronize +jobs: + semantic-pr-subject: + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v4.5.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}