We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 110f188 commit 4f0d648Copy full SHA for 4f0d648
.github/workflows/copy-readme-to-wiki.yml
@@ -20,6 +20,7 @@ jobs:
20
with:
21
repository: ${{ github.repository }}.wiki
22
path: wiki
23
+ ref: main
24
25
- name: Copy README.md to wiki
26
run: |
@@ -28,7 +29,9 @@ jobs:
28
29
- name: Push to wiki
30
31
cd wiki
- git config --local user.email "[email protected]"
32
- git config --local user.name "Julian Prieber"
+ git config --local user.email "[email protected]"
33
+ git config --local user.name "GitHub Action"
34
git add README.md
- git diff-index --quiet HEAD || git commit -m "Sync README.md to wiki" && git push
35
+ git diff-index --quiet HEAD || git commit -m "Sync README.md to wiki" && git push
36
+ env:
37
+ GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
0 commit comments