diff --git a/.github/workflows/trigger_osstd_repo_action.yml b/.github/workflows/trigger_osstd_repo_action.yml index 5e0ddb6..a9f6aef 100644 --- a/.github/workflows/trigger_osstd_repo_action.yml +++ b/.github/workflows/trigger_osstd_repo_action.yml @@ -21,6 +21,9 @@ jobs: - name: GitHub API to trigger PR run: | + export COMMIT_ID=${{ github.sha }} + export SHORT_COMMIT_ID=${COMMIT_ID:0:7} + echo "Using GitHub API to create PR on branch data_update $SHORT_COMMIT_ID" curl -L \ -X POST \ -H "Accept: application/vnd.github+json" \