mirror of
https://github.com/orhun/git-cliff-action.git
synced 2026-03-22 15:35:44 +08:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
26 lines
710 B
YAML
26 lines
710 B
YAML
name: Action Test
|
|
|
|
on: [ push, pull_request ]
|
|
|
|
jobs:
|
|
git-cliff-action:
|
|
runs-on: ubuntu-latest
|
|
name: Test the git-cliff changelog generator action
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Generate a changelog
|
|
id: git-cliff
|
|
uses: ./
|
|
with:
|
|
config: fixtures/cliff.toml
|
|
args: --verbose --strip 'footer' --exclude-path '.github/**' --tag 0.0.0
|
|
env:
|
|
OUTPUT: fixtures/CHANGELOG.md
|
|
- name: Print the changelog
|
|
run: cat "${{ steps.git-cliff.outputs.changelog }}"
|
|
- name: Print the version
|
|
run: echo "${{ steps.git-cliff.outputs.version }}"
|