CI: adjust logic for cancelling workflows

This prevents clobbering when two contributors' PRs have the same head
ref.
290874a24eAndrew Kelley committed on 1/9/2023, 9:58:07 PMparent033dcf7
1 file changedLine totals unavailable