Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Check PR title instead of commits for conventional format #264

Merged
merged 1 commit into from
Apr 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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