File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,15 @@ jobs:
19
19
run : make docs
20
20
- name : Commit changes
21
21
env :
22
+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
22
23
COMMIT_MSG : |
23
24
[docgen] Update doc/orgmode.txt
24
25
run : |
25
26
git config user.name github-actions
26
27
git config user.email [email protected]
27
28
git add doc/orgmode.txt
28
29
# Only commit and push if we have changes
29
- git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push)
30
+ git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push -u $GH_TOKEN )
30
31
31
32
api_docgen :
32
33
runs-on : ubuntu-latest
@@ -46,11 +47,12 @@ jobs:
46
47
run : make api_docs
47
48
- name : Commit changes
48
49
env :
50
+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
49
51
COMMIT_MSG : |
50
52
[docgen] Update doc/orgmode_api.txt
51
53
run : |
52
54
git config user.name github-actions
53
55
git config user.email [email protected]
54
56
git add doc/orgmode_api.txt
55
57
# Only commit and push if we have changes
56
- git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push)
58
+ git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push -u $GH_TOKEN )
You can’t perform that action at this time.
0 commit comments