Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): fix concurrency group format on pull request event
Since the addition of pull_request_target event, github.ref context object return name of the base branch. So when a workflow was triggered on the base branch during an execution in a pull request, the latter would be cancelled. Using github.head_ref, when available, fixes this behavior. On any other event than pull_request or pull_request_target, github.ref will still be used and work as before.
- Loading branch information