Skip to content

Commit

Permalink
ci: add changelog enforcement
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
Pouyanpi committed Dec 3, 2024
1 parent 131f861 commit 7e823f4
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Check CHANGELOG.md"
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
paths-ignore:
- "docs/colang-2/**"
- "nemoguardrails/colang/v2_x/**"
- "cli/**"
- ".github/**"
- "tests/**"

jobs:
# Enforces the update of a changelog file on every pull request
changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dangoslen/changelog-enforcer@v2
with:
changeLogPath: "CHANGELOG.md"

0 comments on commit 7e823f4

Please sign in to comment.