Skip to content

Commit

Permalink
ci: Check PR title instead of commits for conventional format
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan-lowman-dd committed Apr 12, 2022
1 parent a747dcc commit 1260893
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: "Changelog checks"

on:
pull_request_target:
types:
- opened
- edited
- synchronize

jobs:
conventional-commits-lint-check:
name: "Lint PR title"
runs-on: "ubuntu-latest"
steps:
- name:
uses: amannn/action-semantic-pull-request@0eb081bc9c35210408951834a444794406eff6f8
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10 changes: 0 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,3 @@ jobs:
uses: golangci/golangci-lint-action@5c56cd6c9dc07901af25baab6f2b0d9f3b7c3018
with:
version: v1.45.2

conventional-commits-lint-check:
runs-on: "ubuntu-latest"
steps:
- name: Checkout code
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
with:
fetch-depth: 0
- name: Commitsar Action
uses: aevea/commitsar@159cec82966ca402a09ae3c185524a5256affa22

0 comments on commit 1260893

Please sign in to comment.