File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,17 @@ jobs:
22
22
- default
23
23
steps :
24
24
- name : Check out the codebase
25
+ if : github.event.pull_request.head.repo.full_name == github.repository
25
26
uses : actions/checkout@v2
26
27
27
28
- name : Set up Python 3
29
+ if : github.event.pull_request.head.repo.full_name == github.repository
28
30
uses : actions/setup-python@v2
29
31
with :
30
32
python-version : 3.x
31
33
32
34
- name : Install Molecule dependencies
35
+ if : github.event.pull_request.head.repo.full_name == github.repository
33
36
run : |
34
37
pip3 install ansible-base==2.10.3
35
38
pip3 install ansible==2.10.3
39
42
pip3 install docker==4.4.0
40
43
41
44
- name : Run Molecule tests
45
+ if : github.event.pull_request.head.repo.full_name == github.repository
42
46
run : molecule test -s ${{ matrix.scenario }}
43
- if : contains(${{ matrix.scenario }}, "plus") && !(github.event_name == "pull_request" && github.event.pull_request.head.repo.fork)
44
47
env :
45
48
PY_COLORS : " 1"
46
49
ANSIBLE_FORCE_COLOR : " 1"
You can’t perform that action at this time.
0 commit comments