chore(deps): bump the dependencies group across 1 directory with 15 updates #39
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Update unreleased section in CHANGELOG" | |
on: | |
pull_request: | |
# By default labeled/unlabeled are not included in the pull_request even so we need to list out what we want | |
types: [ opened, synchronize, reopened, ready_for_review, labeled, unlabeled ] | |
permissions: | |
contents: read | |
jobs: | |
changelog: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: dangoslen/changelog-enforcer@204e7d3ef26579f4cd0fd759c57032656fdf23c7 # v3.6.1 | |
with: | |
skipLabels: 'Skip-Changelog,dependencies,tests' | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v3.5.2 | |
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # pin@v4 | |
- run: npx [email protected] | |
- run: | | |
files=$(git status --porcelain) | |
if [[ -n ${files} ]]; then | |
>&2 echo "Please run \`npx keep-a-changelog\` to fix changelog." | |
>&2 echo "" | |
>&2 echo "${files}" | |
>&2 echo "" | |
exit 1 | |
fi |