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 3760687 commit 571b1d5Copy full SHA for 571b1d5
.github/workflows/node.js.yml
@@ -37,4 +37,9 @@ jobs:
37
git config user.name "Docs Bot"
38
git add --force -- docs/README.md
39
git commit -m "docs: add generated docs"
40
- git push
+ - name: Push to git branch for PR
41
+ if: ${{ github.head_ref != '' }}
42
+ run: git push origin HEAD:${{ github.head_ref }}
43
+ - name: Push to git branch for branch
44
+ if: ${{ github.head_ref == '' }}
45
+ run: git push
0 commit comments