-
Notifications
You must be signed in to change notification settings - Fork 404
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: disable running CI for releases
There are a few parts to this: 1) First, disable running on pushes. This is because pushes don't have context when they come from a pull request. In particular, pushes don't have the branch name the pull request came from. 2) Then, disable running if the branch name starts with release. 3) In the same condition check, enable runs only for branches that are closed via a merge. We don't want to trigger CI for a PR that is closed because we decided to abandon the idea.
- Loading branch information
Jordi Gutiérrez Hermoso
committed
Jun 12, 2023
1 parent
3e926e5
commit 0ac9131
Showing
1 changed file
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters