-
Notifications
You must be signed in to change notification settings - Fork 0
/
markdown-lint.yaml
43 lines (39 loc) · 1 KB
/
markdown-lint.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
name: markdownlint-{{repo_name}}
annotations:
pipelinesascode.tekton.dev/on-cel-expression: |
( event == "pull_request" || ( event == "push" && source_branch == "main") ) && ( body.sender.login != "livewyer-bot" && body.sender.login != "lw-tkn[bot]" )
spec:
pipelineRef:
resolver: cluster
params:
- name: kind
value: pipeline
- name: name
value: markdownlint
params:
- name: url
value: "{{repo_url}}"
- name: revision
value: "{{revision}}"
- name: fileName
value: "README.md"
workspaces:
- name: basic-auth
secret:
secretName: "{{git_auth_secret}}"
- name: source
volumeClaimTemplate:
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 128Mi
taskRunTemplate:
serviceAccountName: pipelines-as-code-runner
podTemplate:
securityContext:
fsGroup: 65532