diff --git a/.github/workflows/docs-preview-create.yml b/.github/workflows/docs-preview-create.yml index ece0c2abdb..0665ef7da1 100644 --- a/.github/workflows/docs-preview-create.yml +++ b/.github/workflows/docs-preview-create.yml @@ -19,6 +19,10 @@ on: description: 'Branch (eg. my-feature-branch)' required: true type: string + check_id: + description: 'The ID of the check that triggered this workflow' + required: false + type: string permissions: contents: write @@ -62,7 +66,7 @@ jobs: - name: Push id: push - run: git add -A && git commit -m "sync docs" && git push -u origin ${{ env.BRANCH }} --force + run: git add -A && git commit -m "sync docs for check run ${{ inputs.check_id }}" && git push -u origin ${{ env.BRANCH }} --force - name: Request preview comment uses: peter-evans/repository-dispatch@v3