diff options
Diffstat (limited to '.github/workflows/changelog.yml')
| -rw-r--r-- | .github/workflows/changelog.yml | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index f2b1ed7..87bd5c9 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -1,22 +1,17 @@ -name: CHANGELOG +name: Deploy on: push: - tags: - - "v*" - # - v[0-9]+.[0-9]+.[0-9]+ - workflow_dispatch: + tags: + - v[0-9]+.[0-9]+.[0-9]+ jobs: deploy: runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write - id-token: write + steps: - name: Checkout Code - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: Update CHANGELOG id: changelog @@ -24,13 +19,10 @@ jobs: with: token: ${{ github.token }} tag: ${{ github.ref_name }} - includeInvalidCommits: true - changelogFilePath: CHANGELOG.md - writeToFile: true useGitmojis: false - + - name: Create Release - uses: ncipollo/release-action@v1.14.0 + uses: ncipollo/release-action@v1.12.0 with: allowUpdates: true draft: false @@ -38,9 +30,9 @@ jobs: name: ${{ github.ref_name }} body: ${{ steps.changelog.outputs.changes }} token: ${{ github.token }} - + - name: Commit CHANGELOG.md - uses: stefanzweifel/git-auto-commit-action@v5 + uses: stefanzweifel/git-auto-commit-action@v4 with: branch: main commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]' |
