Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ runs:
steps:
- name: Checkout code
uses: actions/checkout@v4

with:
ref: ${{ github.event.pull_request.head.ref }}
Copy link
Contributor

@jasonkarns jasonkarns Jul 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't assume the event that started the job is a pull_request event. It could just as easily be a push event, workflow_dispatch, scheduled cron run, workflow_call, or something else entirely.

- name: Check for .ruby-version file
id: use_ruby_version_or_default
shell: bash
Expand Down