12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- name : DevRel All Projects Pipeline
15
+ name : DevRel Linter Pipeline
16
16
on :
17
+ push :
18
+ branches :
19
+ - main
20
+ pull_request :
21
+ branches :
22
+ - main
17
23
workflow_dispatch :
18
24
schedule :
19
25
- cron : " 0 0 * * *"
20
- env :
21
- APIGEE_USER : ${{ secrets.APIGEE_USER }}
22
- APIGEE_PASS : ${{ secrets.APIGEE_PASS }}
23
- APIGEE_ORG : ${{ secrets.APIGEE_ORG }}
24
- APIGEE_ENV : ${{ secrets.APIGEE_ENV }}
25
- # Component specific secrets
26
- REF_GCP_SA_SF : ${{ secrets.REF_GCP_SA_SF }}
27
26
jobs :
28
27
29
28
static-analysis :
@@ -44,36 +43,11 @@ jobs:
44
43
MARKDOWN_CONFIG_FILE : .markdown-lint.yml
45
44
46
45
- name : Check all files are licensed
47
- uses : ./tools/pipeline-runner
46
+ uses : ./tools/pipeline-linter
48
47
with :
49
48
pipeline-action : check-license.sh
50
49
51
50
- name : Check README and CODEOWNER index
52
- uses : ./tools/pipeline-runner
51
+ uses : ./tools/pipeline-linter
53
52
with :
54
- pipeline-action : check-readme.sh
55
-
56
- project-pipelines :
57
-
58
- name : Run Pipelines
59
- runs-on : ubuntu-latest
60
-
61
- steps :
62
- - name : Checkout Code
63
- uses : actions/checkout@v2
64
-
65
- - name : Turnstyle
66
- uses : softprops/turnstyle@v1
67
- with :
68
- same-branch-only : false
69
- poll-interval-seconds : 10
70
- continue-after-seconds : 120
71
- env :
72
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
73
-
74
- - name : Run Pipelines
75
- uses : ./tools/pipeline-runner
76
- with :
77
- pipeline-action : run-pipelines.sh
78
-
79
-
53
+ pipeline-action : check-readme.sh
0 commit comments