fix: add missing test update (#20) #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: changelog | |
on: | |
push: | |
branches: | |
- master | |
release: | |
types: [published] | |
jobs: | |
changelog: | |
name: Generate changelog | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Create Token | |
id: create_token | |
uses: tibdex/github-app-token@v2 | |
with: | |
app_id: ${{ secrets.APP_ID }} | |
private_key: ${{ secrets.APP_PRIVATE_KEY }} | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: "✏️ Generate release changelog" | |
uses: heinrichreimer/[email protected] | |
with: | |
token: ${{ steps.create_token.outputs.token }} | |
- name: Commit CHANGELOG.md | |
uses: planetscale/[email protected] | |
with: | |
repo: ${{ github.repository }} | |
branch: master | |
commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]' | |
file_pattern: CHANGELOG.md | |
env: | |
GITHUB_TOKEN: ${{ steps.create_token.outputs.token }} |