Skip to content

Commit

Permalink
fix: rerun.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ludamad authored Oct 1, 2024
1 parent fd0e945 commit c27958e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/rerun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ jobs:
BRANCH_NAME=$(echo "$RUN_INFO" | jq -r '.headBranch')
EVENT_TYPE=$(echo "$RUN_INFO" | jq -r '.event')
# Only proceed if the event is a pull_request
if [[ "$EVENT_TYPE" != "pull_request" ]]; then
echo "Event type is $EVENT_TYPE. Skipping rerun."
exit 0
fi
# Get the latest commit SHA on the branch
LATEST_COMMIT_SHA=$(gh api repos/${{ github.repository }}/commits/$BRANCH_NAME --jq .sha)
Expand Down

0 comments on commit c27958e

Please sign in to comment.