Skipping changelog enforcement for PRs with one of these labels: refactor, testing, build, project. Such labels likely indicate a non-user-visible change which need not be reflected in the changelog. (Of course, a changelog entry may still be made if appropriate, even if not required by the enforcer.) Signed-off-by: Jonathon Anderson <janderson@ciq.com>
18 lines
677 B
YAML
18 lines
677 B
YAML
name: "Chagelog Enforcer"
|
|
on:
|
|
pull_request:
|
|
# The specific activity types are listed here to include "labeled" and "unlabeled"
|
|
# (which are not included by default for the "pull_request" trigger).
|
|
# This is needed to allow skipping enforcement of the changelog in PRs with specific labels,
|
|
# as defined in the (optional) "skipLabels" property.
|
|
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
|
|
steps:
|
|
- uses: dangoslen/changelog-enforcer@v3
|
|
with:
|
|
skipLabels: "refactor,testing,build,project"
|