Skip to content

build(deps): bump clap_complete from 4.6.7 to 4.6.8 in the rust-dependencies group #525

build(deps): bump clap_complete from 4.6.7 to 4.6.8 in the rust-dependencies group

build(deps): bump clap_complete from 4.6.7 to 4.6.8 in the rust-dependencies group #525

Workflow file for this run

# I just think it's a really good idea because I constantly forget to update
# the goddamned CHANGELOG. This should help when I'm dealing with pull request
# of my own creation, at the very least.
# Taken from:
# <https://github.com/mikaelmello/inquire/blob/d443a94684e5af971b5e05265c4b511a7f2f4854/.github/workflows/changelog-check.yml>
name: CHANGELOG Check
on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled, edited]
permissions:
contents: read
pull-requests: read
env:
CHANGELOG_REQUIRED: true
IGNORE_CHECK_LABEL: allow-no-changelog
jobs:
changelog-check:
runs-on: ubuntu-latest
steps:
- name: Override variable if PR is labeled ${{ env.IGNORE_CHECK_LABEL }}
if: ${{ contains(github.event.pull_request.labels.*.name, env.IGNORE_CHECK_LABEL) }}
run: |
echo "CHANGELOG_REQUIRED=false" >> "$GITHUB_ENV"
- name: Override variable if PR is from Dependabot
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
run: |
echo "CHANGELOG_REQUIRED=false" >> "$GITHUB_ENV"
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
if: fromJSON(env.CHANGELOG_REQUIRED)
with:
persist-credentials: false
- name: Get changed files in the docs folder
if: fromJSON(env.CHANGELOG_REQUIRED)
id: changelog-changed
uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96 # v47.0.6
with:
files: CHANGELOG.md
- name: Fail workflow if CHANGELOG.md has not been changed
if: fromJSON(env.CHANGELOG_REQUIRED) && steps.changelog-changed.outputs.any_changed == 'false'
run: |
echo "CHANGELOG.md has not been changed"
exit 1