Skip to content

Commit

Permalink
ci: for pushes, only run taskcluster on actively used branches (#1525)
Browse files Browse the repository at this point in the history
Anything else should route through a PR. If we need other long lived branches in the future we can add them, and also add them to https://github.com/mozilla-releng/fxci-config/blob/main/projects.yml.
  • Loading branch information
bhearsum authored Jul 12, 2024
1 parent ab2ff2f commit d63a6f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ policy:
tasks:
- $if: >
(tasks_for == "github-pull-request" && event.action in ["opened", "reopened", "synchronize"])
|| (tasks_for in ["github-push", "action", "cron"])
|| (tasks_for in ["action", "cron"])
|| (tasks_for == "github-push" && event.ref in ["refs/heads/main", "refs/heads/production", "refs/heads/dev"])
then:
$let:
trustDomain: releng
Expand Down

0 comments on commit d63a6f0

Please sign in to comment.