Skip to content

Commit

Permalink
env variable to the same step
Browse files Browse the repository at this point in the history
  • Loading branch information
leijerry888 committed Jan 10, 2024
1 parent b91b3bb commit cb3c5c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/trigger_osstd_repo_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit cb3c5c5

Please sign in to comment.