Skip to content

Commit a283f76

Browse files
ci: Map HEAD to master
1 parent dab318f commit a283f76

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/docgen.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13+
with:
14+
token: ${{ secrets.GH_TOKEN }}
1315
- uses: actions/setup-go@v4
1416
with:
1517
go-version: '^1.17.1'
@@ -27,12 +29,14 @@ jobs:
2729
git config user.email [email protected]
2830
git add doc/orgmode.txt
2931
# Only commit and push if we have changes
30-
git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push origin master -u $GH_TOKEN)
32+
git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push)
3133
3234
api_docgen:
3335
runs-on: ubuntu-latest
3436
steps:
3537
- uses: actions/checkout@v4
38+
with:
39+
token: ${{ secrets.GH_TOKEN }}
3640
- name: Install Neovim
3741
uses: rhysd/action-setup-vim@v1
3842
id: neovim
@@ -55,4 +59,4 @@ jobs:
5559
git config user.email [email protected]
5660
git add doc/orgmode_api.txt
5761
# Only commit and push if we have changes
58-
git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push origin master -u $GH_TOKEN)
62+
git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push)

0 commit comments

Comments
 (0)