Skip to content

Commit

Permalink
fixup! 👷(project) add git history and changelog checks
Browse files Browse the repository at this point in the history
  • Loading branch information
jmaupetit committed Mar 26, 2024
1 parent 354bf41 commit bc7ac6f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/chore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Check absence of fixup commits
run: git log --pretty=format:%s | grep 'fixup!'
run: |
! git log --pretty=format:%s | grep 'fixup!'
check-changelog:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Check that the CHANGELOG has been modified in the current branch
run: git whatchanged --name-only --pretty="" origin..HEAD | grep CHANGELOG
run: |
git whatchanged --name-only --pretty="" origin/main..origin/${GITHUB_HEAD_REF} | grep CHANGELOG
lint-changelog:
runs-on: ubuntu-latest
Expand Down

0 comments on commit bc7ac6f

Please sign in to comment.