Skip to content

Commit

Permalink
chore: fix condition (#15)
Browse files Browse the repository at this point in the history
Fixes #
  • Loading branch information
mrgrain authored Jul 30, 2024
1 parent 84c8214 commit ac760dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backport.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ project.github?.tryFindWorkflow("backport")?.file?.patch(
'echo "matched=$matched" >> $GITHUB_OUTPUT',
].join("\n"),
}),
JsonPatch.add("/jobs/backport/steps/1/if", "steps.check_labels.matched > 0"),
JsonPatch.add(
"/jobs/backport/steps/1/if",
"fromJSON(steps.check_labels.outputs.matched) > 0",
),
);

new MergeQueue(project, {
Expand Down

0 comments on commit ac760dd

Please sign in to comment.