mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
fix to tc.yml to only build on pushes to main
This commit is contained in:
parent
d57efbec5d
commit
b29f75a075
1 changed files with 2 additions and 2 deletions
|
@ -7,8 +7,8 @@ tasks:
|
|||
then:
|
||||
$let:
|
||||
run:
|
||||
$if: 'tasks_for == "github-push" && event["ref"] == "refs/heads/main"'
|
||||
then: true
|
||||
$if: 'tasks_for == "github-push"'
|
||||
then: {$eval: 'event.ref == "refs/heads/main"'}
|
||||
else: {$eval: 'event.action in ["opened", "reopened", "synchronize"]'}
|
||||
repo_url:
|
||||
$if: 'tasks_for == "github-push"'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue