CI: adjust logic for cancelling workflows

This prevents clobbering when two contributors' PRs have the same head
ref.
dc852f8226Andrew Kelley committed on 12/5/2022, 10:51:10 PMparent12e34e7
1 file changedLine totals unavailable