Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
trying to fix it
Browse files Browse the repository at this point in the history
  • Loading branch information
romancardenas committed Oct 3, 2023
1 parent 93278fe commit e0ff339
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
name: Check CHANGELOG.md

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]

jobs:
check_changelog:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Check for CHANGELOG.md
run: |
if ! git diff --name-only HEAD^ | grep -q "^CHANGELOG.md$"; then
echo "ERROR: CHANGELOG.md not modified in this pull request"
exit 1
fi
uses: dangoslen/changelog-enforcer@v3
with:
missingUpdateErrorMessage: 'Please add a changelog entry in the CHANGELOG.md file.'

0 comments on commit e0ff339

Please sign in to comment.