build: fix changelog generation
This commit is contained in:
parent
9f05044aeb
commit
073f5294d1
4 changed files with 18 additions and 12 deletions
|
|
@ -28,6 +28,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
|
||||
|
|
@ -37,6 +39,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:
|
||||
|
|
@ -167,9 +173,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