Skip to content

Commit

Permalink
add CI job to enforce CHANGELOG.md updates
Browse files Browse the repository at this point in the history
  • Loading branch information
aschepis committed Apr 3, 2024
1 parent 92ff187 commit 6746cbe
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,18 @@ name: Go
on:
push:
branches: main
pull_request: # don't include branches so that all PRs run.
pull_request:
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]

jobs:
# Enforces the update of a changelog file on every pull request
changelog:
runs-on: ubuntu-latest
skipLabels:
- skip-changelog
- ignore-release
steps:
- uses: dangoslen/changelog-enforcer@v3
build:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 6746cbe

Please sign in to comment.