From 1c113efc423de994456411e04485eec414aaef78 Mon Sep 17 00:00:00 2001 From: Jef LeCompte Date: Tue, 23 Feb 2021 11:44:49 -0500 Subject: [PATCH] ci: change pr linter --- .github/workflows/pr-lint.yaml | 16 ++++++++++++++++ .github/workflows/pull-request-lint.yaml | 17 ----------------- 2 files changed, 16 insertions(+), 17 deletions(-) create mode 100644 .github/workflows/pr-lint.yaml delete mode 100644 .github/workflows/pull-request-lint.yaml diff --git a/.github/workflows/pr-lint.yaml b/.github/workflows/pr-lint.yaml new file mode 100644 index 0000000..237dffe --- /dev/null +++ b/.github/workflows/pr-lint.yaml @@ -0,0 +1,16 @@ +name: Pull Request Linter +on: + pull_request: + types: + - opened + - edited + - reopened +jobs: + lint-pr: + name: Lint pull request title + runs-on: ubuntu-latest + steps: + - name: Lint pull request title + uses: jef/conventional-commits-pr-action@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pull-request-lint.yaml b/.github/workflows/pull-request-lint.yaml deleted file mode 100644 index 1de342b..0000000 --- a/.github/workflows/pull-request-lint.yaml +++ /dev/null @@ -1,17 +0,0 @@ -name: Pull Request Lint -on: - pull_request_target: - types: - - opened - - edited - - reopened - - synchronize -jobs: - pull-request-lint: - name: Lint pull request - runs-on: ubuntu-latest - steps: - - name: Lint pull request - uses: amannn/action-semantic-pull-request@v3.4.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}