Skip to content

Commit ddb573f

Browse files
committed
make target-branch a regexp
so that the linter will run on all branches and not just main when for example we are doing a backport test. Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
1 parent 50cb248 commit ddb573f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.tekton/linter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: linters
66
annotations:
77
pipelinesascode.tekton.dev/on-event: "[push, pull_request]"
8-
pipelinesascode.tekton.dev/on-target-branch: "[main]"
8+
pipelinesascode.tekton.dev/on-target-branch: "[*]"
99
pipelinesascode.tekton.dev/max-keep-runs: "2"
1010
pipelinesascode.tekton.dev/task: "[git-clone]"
1111
spec:

0 commit comments

Comments
 (0)