Skip to content

Commit

Permalink
Merge pull request #364 from linear-b/fix-expression-in-branch-example
Browse files Browse the repository at this point in the history
fix expression
  • Loading branch information
BenLloydPearson authored Nov 21, 2023
2 parents c3b482e + ff083e1 commit 20eae63
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ automations:
# Change pr.target to branch.name if you want to trigger on the source branch rather then the target branch.
dispatch_github_action_{{ item.name }}:
if:
- {{ pr.target | includes(term=item.branch.prefix) }}
- {{ pr.target | includes(term=item.branch_prefix) }}
run:
- action: run-github-workflow@v1
args:
Expand All @@ -25,11 +25,11 @@ automations:


pipelines:
- name: mobile-ci
- name: mobile_ci
label: Mobile CI
branch-prefix: 'mobile-'
branch_prefix: 'mobile-'
workflow: mobile.yml
- name: backend-ci
- name: backend_ci
label: Backend CI
branch-prefix: 'backend-'
branch_prefix: 'backend-'
workflow: 'backend.yml'

0 comments on commit 20eae63

Please sign in to comment.