Skip to content

Commit d4a8757

Browse files
committed
action uses github token
1 parent ac125a9 commit d4a8757

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/make.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ jobs:
66
report:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v3
9+
- name: Checkout
10+
uses: actions/checkout@v4
11+
with:
12+
token: ${{ secrets.ACTION_TOKEN }}
1013
- name: Make docs
1114
run: make all
12-
- name: Commit files
13-
run: |
14-
git config --global user.name 'dde-fite's github action'
15-
git config --global user.email 'dde-fite@users.noreply.github.com'
16-
git commit -am "Make pandoc"
17-
git push
15+
- name: Commit and push changes
16+
uses: devops-infra/action-commit-push@master
17+
with:
18+
github_token: ${{ secrets.ACTION_TOKEN }}
19+
commit_message: make documentation

0 commit comments

Comments
 (0)