Skip to content

Commit

Permalink
ci: 👷 debugging changelog pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
aacevski committed Jan 26, 2025
1 parent 571b03d commit e3b0477
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: "Changelog"

on:
push:
branches:
Expand Down Expand Up @@ -64,4 +66,29 @@ jobs:
run: |
gh pr merge --squash --auto --delete-branch ${{ env.PR_BRANCH }}
env:
GH_TOKEN: ${{ secrets.GH_TOKEN_ANDREJ }}
GH_TOKEN: ${{ secrets.GH_TOKEN_ANDREJ }}

release:
name: Release
if: github.event_name != 'pull_request' && needs.changelog.outputs.skipped == 'false'
runs-on: ubuntu-24.04

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Create Release
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.GH_TOKEN_ANDREJ }}
tag_name: ${{ needs.changelog.outputs.tag }}
prerelease: false
draft: false
files: bin/*
generate_release_notes: true
name: ${{ needs.changelog.outputs.tag }}
body: |
<details>
<summary>🤖 Autogenerated Conventional Changelog</summary>
${{ needs.changelog.outputs.clean_changelog }}
</details>

0 comments on commit e3b0477

Please sign in to comment.