Skip to content

ci: clean bad naming #3

ci: clean bad naming

ci: clean bad naming #3

Workflow file for this run

name: Write changelog
on:
push:
tags:
- "v*"
pull_request:
paths:
- "**/*.md"
jobs:
create-changelog:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.DEPLOY_APP_ID }}
private-key: ${{ secrets.DEPLOY_APP_KEY }}
- uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
- name: Update CHANGELOG
id: changelog
uses: requarks/changelog-action@v1
with:
token: ${{ steps.app-token.outputs.token }}
tag: v1.0.1
restrictToTypes: ""
reverseOrder: true
excludeTypes: ""
excludeScopes: ""
- name: Commit CHANGELOG.md
uses: stefanzweifel/git-auto-commit-action@v5
with:
branch: main
commit_message: "docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]"
file_pattern: CHANGELOG.md