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 a351255 commit 7a0c586Copy full SHA for 7a0c586
.github/workflows/html-render.yml
@@ -25,7 +25,7 @@ jobs:
25
uses: actions/checkout@v4
26
with:
27
ref: ${{ github.head_ref || github.ref_name }}
28
- fetch-depth: 0
+ fetch-depth: 1
29
30
- name: Setup Node.js
31
uses: actions/setup-node@v4
@@ -287,7 +287,7 @@ jobs:
287
EOF
288
289
- name: Commit and push changes
290
- if: github.event_name != 'pull_request'
+ if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
291
run: |
292
git config --local user.email "github-actions[bot]@users.noreply.github.com"
293
git config --local user.name "github-actions[bot]"
0 commit comments