Skip to content

Commit

Permalink
chore: recorrect the sha
Browse files Browse the repository at this point in the history
  • Loading branch information
johanseto committed Sep 1, 2023
1 parent b9781d7 commit b4b76ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/strain_dispatcher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
- name: checkout repo
uses: actions/checkout@v3
with:
-ref: ${{ github.event.pull_request.head.sha}}
ref: ${{ github.sha }}
- name: get last commit name
run: |
LAST_COMMIT_LOG=$(git show -s --format=%s)
LAST_COMMIT_LOG=$(git log -1 --no-merges --pretty=format:"%s")
echo "LAST_COMMIT_LOG=${LAST_COMMIT_LOG}" >> $GITHUB_ENV # update GitHub ENV vars
- name: Log of last commit of the PR is
run: echo "${{ env.LAST_COMMIT_LOG }}"
Expand All @@ -29,7 +29,7 @@ jobs:
{
"repo": "${{ github.repository }}",
"ref": "${{ github.ref }}",
"sha": "${{ github.event.pull_request.head.sha }}",
"sha": "${{ github.sha }}",
"ref_name": "${{ github.ref_name }}",
"head_ref": "${{ github.head_ref }}",
"base_ref": "${{ github.base_ref }}",
Expand Down

0 comments on commit b4b76ea

Please sign in to comment.