Skip to content

Commit

Permalink
fix PR_PUSHED_AT
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Jul 31, 2024
1 parent 4aa49c4 commit 4714f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ jobs:
env:
COMMENT_BODY: ${{ github.event.comment.body }}
COMMENT_DATE: ${{ github.event.comment.created_at }}
PR_PUSHED_AT: ${{ fromJson(steps.request.outputs.data).pushed_at }}
run: |
PR_PUSHED_AT="${{ fromJson(steps.request.outputs.data).pushed_at }}"
comment_hash=`echo "$COMMENT_BODY" | cut -d' ' -f2` # get commit hash if any
if [[ "${comment_hash}" == "/runsim" ]]; then
# use default head ref, if the PR hasn't changed since the comment
Expand Down

0 comments on commit 4714f67

Please sign in to comment.