Skip to content

import: Fix expansion panic with matching child module + root module import targets #1574

import: Fix expansion panic with matching child module + root module import targets

import: Fix expansion panic with matching child module + root module import targets #1574

# This workflow validates the entire changelog when combined with changie entries introduced
# by the PR.
#
# This is separate from the "enforce-changelog" workflow as it needs to run in the context of
# the PR branch, which is generally discouraged for "pull_request_target" triggered workflows.
name: Changelog Validation
on:
pull_request:
types:
- opened
- ready_for_review
- reopened
- synchronize
- labeled
- unlabeled
# This workflow runs for not-yet-reviewed external contributions and so it
# intentionally has no write access and only limited read access to the
# repository.
permissions:
contents: read
jobs:
validate-changelog:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-changelog-check') }}
name: "Validate Changelog"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
sparse-checkout: |
.changie.yaml
.changes/
sparse-checkout-cone-mode: false
- name: Validate changie fragment is valid
uses: miniscruff/changie-action@3223cb29b92a0972dedc864ace3da01e04780ae4 # v3.0.1
with:
version: latest
args: merge -u "." --dry-run