Skip to content

Commit dbe5a65

Browse files
authored
Update docgen.yml
Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent 300364e commit dbe5a65

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/docgen.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
- uses: actions/checkout@v2
2121
with:
2222
ref: ${{github.head_ref}}
23+
- name: Get HEAD SHA
24+
id: vars
25+
run: echo "::set-output name=sha::$(git rev-parse --short HEAD)"
2326
- name: Build Python Package
2427
run: |
2528
cp docker/WORKSPACE.docs WORKSPACE
@@ -32,7 +35,7 @@ jobs:
3235
- uses: stefanzweifel/git-auto-commit-action@v4
3336
with:
3437
# Required
35-
commit_message: "docs: [Automated] Regenerating documenation from $GITHUB_SHA"
38+
commit_message: "docs: [Automated] Regenerating documenation for ${{ steps.vars.outputs.sha }}"
3639
commit_options: "--no-verify --signoff"
3740
file_pattern: docs/
3841
commit_user_name: TRTorch Github Bot

0 commit comments

Comments
 (0)