mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-23 14:36:44 +02:00
only run CI on pushes to main, not to topic branches
This commit is contained in:
parent
21684666a6
commit
705edce82b
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue