Skip to content

Commit 4506391

Browse files
committed
feat: remove PAT
1 parent 5845e18 commit 4506391

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/changelog.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,13 @@ on:
77
jobs:
88
generate:
99
runs-on: "ubuntu-latest"
10-
env:
11-
GITHUB_TOKEN: ${{ secrets.MCP_CHANGELOG }}
1210
steps:
1311
- name: Check out repo
1412
uses: actions/checkout@v4
1513
with:
1614
fetch-tags: true
1715
fetch-depth: 0
1816
repository: "Govcraft/rust-docs-mcp-server"
19-
token: ${{ secrets.PAT }}
2017

2118
- name: Install gitchglog
2219
run: |
@@ -25,10 +22,11 @@ jobs:
2522
2623
- name: Generate changelog
2724
run: ./git-chglog -o CHANGELOG.md
25+
2826
- name: Check in CHANGELOG
29-
uses: EndBug/add-and-commit@v9
30-
with:
31-
add: './CHANGELOG.md'
32-
author_name: 'Roland'
33-
author_email: 'roland@govcraft.ai'
34-
message: 'chore(docs): update CHANGELOG for latest tag'
27+
run: |
28+
git config user.name "github-actions[bot]"
29+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
30+
git add './CHANGELOG.md'
31+
git commit -m "chore(docs): update CHANGELOG for latest tag"
32+
git push

0 commit comments

Comments
 (0)