File tree 2 files changed +33
-0
lines changed
2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 21
21
22
22
version : 2.1
23
23
24
+ parameters :
25
+ GHA_Actor :
26
+ type : string
27
+ default : " "
28
+ GHA_Action :
29
+ type : string
30
+ default : " "
31
+ GHA_Event :
32
+ type : string
33
+ default : " "
34
+ GHA_Meta :
35
+ type : string
36
+ default : " "
37
+
24
38
orbs :
25
39
browser-tools : circleci/browser-tools@1.4.8
26
40
@@ -93,6 +107,10 @@ executors:
93
107
workflows :
94
108
version : 2
95
109
build-and-test :
110
+ # This workflow is set to be conditionally triggered, only when
111
+ # the GitHub Action is triggered.
112
+ # With no other workflows, normal push events will be ignored currently.
113
+ when : << pipeline.parameters.GHA_Action >>
96
114
jobs :
97
115
- checkout :
98
116
context : Pix
Original file line number Diff line number Diff line change
1
+ name : Trigger CircleCI
2
+
3
+ on :
4
+ pull_request :
5
+ types : [opened, reopened]
6
+
7
+ jobs :
8
+ trigger-ci :
9
+ runs-on : ubuntu-latest
10
+
11
+ steps :
12
+ - name : Trigger CircleCI
13
+ uses : CircleCI-Public/trigger-circleci-pipeline-action@v1.0.5
14
+ env :
15
+ CCI_TOKEN : ${{ secrets.PIX_SERVICE_CIRCLE_CI_TOKEN }}
You can’t perform that action at this time.
0 commit comments