build: fix changelog generation
This commit is contained in:
parent
00df9b574c
commit
9eae9d2a6e
4 changed files with 18 additions and 12 deletions
|
|
@ -29,6 +29,8 @@ jobs:
|
|||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
show-progress: false
|
||||
fetch-depth: 0 # Important for changelog
|
||||
filter: blob:none # We don't need all blobs
|
||||
|
||||
- uses: ./.forgejo/actions/setup
|
||||
- uses: ./.forgejo/actions/setup-node
|
||||
|
|
@ -38,6 +40,10 @@ jobs:
|
|||
- run: make readme
|
||||
- run: git diff --exit-code --name-only README.md
|
||||
|
||||
- name: changelog
|
||||
run: |
|
||||
pnpm changelog ${{ github.ref_type == 'tag' && 'true' || '' }}
|
||||
|
||||
lint-helm:
|
||||
runs-on: docker
|
||||
steps:
|
||||
|
|
@ -170,9 +176,6 @@ jobs:
|
|||
fetch-depth: 0 # Important for changelog
|
||||
filter: blob:none # We don't need all blobs
|
||||
|
||||
# required for proper changelogs
|
||||
- run: git checkout -b "release/${GITHUB_REF_NAME#v}"
|
||||
|
||||
- uses: ./.forgejo/actions/setup
|
||||
- uses: ./.forgejo/actions/setup-node
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue