chore(deps): update github actions #55
Workflow file for this run
This file contains hidden or 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: Test changelog | |
| on: | |
| pull_request: | |
| paths: | |
| - .github/fixtures/changelog-traefik.md | |
| - .github/workflows/changelog.json | |
| - .github/workflows/release.yml | |
| - .github/workflows/test-changelog.yaml | |
| permissions: {} | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Render traefik changelog configuration | |
| env: | |
| REGEXP: '(\\(.+\\))?' | |
| DATE: '2025-01-28' | |
| run: | | |
| # Pin version-support annotations so the fixture stays stable across releases. | |
| sed -i \ | |
| -e 's|traefik.io/proxy-min-version:.*|traefik.io/proxy-min-version: v3.6.0|' \ | |
| -e 's|traefik.io/proxy-max-version:.*|traefik.io/proxy-max-version: v3.6.12|' \ | |
| -e 's|traefik.io/hub-min-version:.*|traefik.io/hub-min-version: v3.19.0|' \ | |
| -e 's|traefik.io/hub-max-version:.*|traefik.io/hub-max-version: v3.20.0-ea.1|' \ | |
| traefik/Chart.yaml | |
| ./hack/render-changelog-config.sh traefik | |
| - name: Build Changelog | |
| id: changelog | |
| uses: mikepenz/release-changelog-builder-action@c9bcd8238b6f41e05561348339429d360b1c0247 # v6.2.3 | |
| with: | |
| fromTag: v34.1.0 | |
| toTag: v34.2.0 | |
| configuration: "/tmp/changelog.json" | |
| fetchViaCommits: true | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Write changelog | |
| run: | | |
| cat <<EOF > /tmp/changelog.md | |
| ${{ steps.changelog.outputs.changelog }} | |
| EOF | |
| - name: Check that the files are the exact same | |
| uses: LouisBrunner/diff-action@ab382b451dbb2333cbb4db158d211d07fb5c82c6 # v3.0.0 | |
| with: | |
| old: .github/fixtures/changelog-traefik.md | |
| new: /tmp/changelog.md | |
| mode: strict | |
| tolerance: same |