only run CI on pushes to main, not to topic branches
This commit is contained in:
@@ -7,7 +7,7 @@ tasks:
|
|||||||
then:
|
then:
|
||||||
$let:
|
$let:
|
||||||
run:
|
run:
|
||||||
$if: 'tasks_for == "github-push"'
|
$if: 'tasks_for == "github-push" && event["ref"] == "refs/heads/main"'
|
||||||
then: true
|
then: true
|
||||||
else: {$eval: 'event.action in ["opened", "reopened", "synchronize"]'}
|
else: {$eval: 'event.action in ["opened", "reopened", "synchronize"]'}
|
||||||
repo_url:
|
repo_url:
|
||||||
|
|||||||
Reference in New Issue
Block a user