Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

ci: :construction_worker: debugging changelog pipeline

Andrej0d077eaa4cd6
diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml
index aab08e784..e36756f2f 100644
--- a/.github/workflows/changelog.yml
+++ b/.github/workflows/changelog.yml
@@ -1,5 +1,3 @@
-name: Changelog
-
on:
push:
branches:
@@ -44,7 +42,7 @@ jobs:
git checkout -b ${{ env.PR_BRANCH }} || git checkout ${{ env.PR_BRANCH }}
- name: Create Changelog
- uses: TriPSs/conventional-changelog-action@v4
+ uses: TriPSs/conventional-changelog-action@v3 # Use the latest version
id: changelog
with:
github-token: ${{ github.token }}
@@ -63,19 +61,7 @@ jobs:
- name: Create Changelog PR
if: steps.changelog.outputs.skipped == 'false'
run: |
- body=$(echo '${{ steps.changelog.outputs.clean_changelog }}' | jq -Rs .)
- curl -X POST \
- -H "Accept: application/vnd.github+json" \
- -H "Authorization: Bearer ${{ github.token }}" \
- https://api.github.com/repos/${{ github.repository }}/pulls \
- -d @- <<EOF
- {
- "title": "chore(release): ${{ steps.changelog.outputs.tag }} [skip-ci]",
- "head": "${{ env.PR_BRANCH }}",
- "base": "main",
- "body": $body
- }
- EOF
+ gh pr create --base main --head ${{ env.PR_BRANCH }} --title 'chore(release): ${{ steps.changelog.outputs.tag }} [skip-ci]' --body "${{ steps.changelog.outputs.clean_changelog }}"
env:
GH_TOKEN: ${{ github.token }}