Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c6bf383

Browse files
chore: Update workflow params (#1504)
1 parent 27b47a1 commit c6bf383

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docs-preview-create.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ on:
1919
description: 'Branch (eg. my-feature-branch)'
2020
required: true
2121
type: string
22-
check_id:
23-
description: 'The ID of the check that triggered this workflow'
22+
sha:
23+
description: 'The commit SHA responsible for triggering this workflow'
2424
required: false
2525
type: string
2626

@@ -66,7 +66,7 @@ jobs:
6666
6767
- name: Push
6868
id: push
69-
run: git add -A && git commit -m "sync docs for check run ${{ inputs.check_id }}" && git push -u origin ${{ env.BRANCH }} --force
69+
run: git add -A && git commit -m "sync docs for repo ${{ inputs.repo }}, pr ${{ inputs.pr }}, commit ${{ inputs.sha }}" && git push -u origin ${{ env.BRANCH }} --force
7070

7171
- name: Request preview comment
7272
uses: peter-evans/repository-dispatch@v3

0 commit comments

Comments
 (0)