Skip to content

Commit 6c77d2a

Browse files
use commit id instead of timestamp in new branch name (#294)
1 parent e80d64e commit 6c77d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docs-push.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
2828
- name: Get branch name
2929
id: get_branch
30-
run: echo "branch_name=sync/${{ github.event.ref }}_${{github.event.head_commit.timestamp}}" >> $GITHUB_ENV
30+
run: echo "branch_name=sync/${{ github.event.ref }}_${{github.event.head_commit.id}}" >> $GITHUB_ENV
3131

3232
- name: Commit changes
3333
env:

0 commit comments

Comments
 (0)