feat: remove PAT #3
Workflow file for this run
This file contains hidden or 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 generation | |
| on: | |
| workflow_dispatch: | |
| push: | |
| tags: | |
| - 'v*' | |
| jobs: | |
| generate: | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - name: Check out repo | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-tags: true | |
| fetch-depth: 0 | |
| repository: "Govcraft/rust-docs-mcp-server" | |
| - name: Install gitchglog | |
| run: | | |
| wget https://github.com/git-chglog/git-chglog/releases/download/v0.15.4/git-chglog_0.15.4_linux_amd64.tar.gz | |
| tar -xvzf git-chglog_0.15.4_linux_amd64.tar.gz | |
| - name: Generate changelog | |
| run: ./git-chglog -o CHANGELOG.md | |
| - name: Check in CHANGELOG | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
| git add './CHANGELOG.md' | |
| git commit -m "chore(docs): update CHANGELOG for latest tag" | |
| git push |