Repository navigation
Tal.ba/feat/enhance tests - #4
Conversation
71062ae to
37bc4ae
Compare
On a pull_request event github.event.inputs is empty, so the checkout fell back to unstable and built unstable's modules.yaml — never the pin bump that triggered the run, so a PR bumping a module to a version that fails to build/load on some OS would still pass green. Fetch the PR merge ref (published on the base repo, so fork PRs work too) on pull_request; keep the use_repo/use_git_ref inputs for manual dispatch. Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
Pushed b2e3e9d to fix the checkout so the workflow actually builds the PR's The bug: the checkout used The fix: branch on the event type. On if [ "${{ github.event_name }}" = "pull_request" ]; then
git remote add origin "https://github.com/${{ github.repository }}.git"
git fetch --depth 1 origin "+refs/pull/${{ github.event.pull_request.number }}/merge"
else
git remote add origin "https://github.com/${{ github.event.inputs.use_repo || 'redis/redis' }}.git"
git fetch --depth 1 origin "${{ github.event.inputs.use_git_ref || 'unstable' }}"
fi
git checkout FETCH_HEADThe plain Separately (no code change, just flagging): |
No description provided.