Skip to content

Commit bf19880

Browse files
authored
Update update-readme.yml
1 parent eee3c7a commit bf19880

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/update-readme.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,15 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
812
jobs:
913
sync-assets:
1014
runs-on: ubuntu-latest
1115
steps:
12-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
1317
with:
1418
fetch-depth: 0
1519

@@ -18,6 +22,7 @@ jobs:
1822
with:
1923
use_code_blocks: true
2024
use_major_version: true
25+
use_tag_commit_hash: true
2126

2227
- name: Run remark
2328
uses: tj-actions/remark@v3
@@ -45,4 +50,5 @@ jobs:
4550
branch: "chore/update-readme"
4651
commit-message: "Updated README.md"
4752
body: "Updated README.md"
48-
token: ${{ secrets.PAT_TOKEN }}
53+
sign-commits: true
54+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)