File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -24,14 +24,17 @@ jobs:
24
24
- stable_push
25
25
steps :
26
26
- name : Check out the codebase
27
+ if : " !(matrix.scenario == 'plus' && github.event.pull_request.head.repo.full_name != github.repository)"
27
28
uses : actions/checkout@v2
28
29
29
30
- name : Set up Python 3
31
+ if : " !(matrix.scenario == 'plus' && github.event.pull_request.head.repo.full_name != github.repository)"
30
32
uses : actions/setup-python@v2
31
33
with :
32
34
python-version : 3.x
33
35
34
36
- name : Install Molecule dependencies
37
+ if : " !(matrix.scenario == 'plus' && github.event.pull_request.head.repo.full_name != github.repository)"
35
38
run : |
36
39
pip3 install ansible-base==2.10.3
37
40
pip3 install ansible==2.10.3
41
44
pip3 install docker==4.4.0
42
45
43
46
- name : Run Molecule tests
47
+ if : " !(matrix.scenario == 'plus' && github.event.pull_request.head.repo.full_name != github.repository)"
44
48
run : molecule test -s ${{ matrix.scenario }}
45
- if : contains(${{ matrix.scenario }}, "plus") && !(github.event_name == "pull_request" && github.event.pull_request.head.repo.fork)
46
49
env :
47
50
PY_COLORS : " 1"
48
51
ANSIBLE_FORCE_COLOR : " 1"
Original file line number Diff line number Diff line change 4
4
5
5
ENHANCEMENTS:
6
6
7
- The GitHub actions Molecule CI/CD workflow is no longer run on a new release (this is not necessary since it already runs on every push).
7
+ * The GitHub actions Molecule CI/CD workflow is no longer run on a new release (this is not necessary since it already runs on every push).
8
+ * The GitHub actions Molecule CI/CD workflow should now correctly avoid running 'Plus' related tests on external PRs.
9
+ * The ` cleanup-config.yml ` playbook has been slightly refactored and simplified.
8
10
9
11
## 0.3.1 (December 22, 2020)
10
12
Original file line number Diff line number Diff line change 12
12
file :
13
13
path : " {{ item }}"
14
14
state : absent
15
- loop : " {{ nginx_config_files.results | default('') | map(attribute='files') | sum(start=[]) | map(attribute=' path') | list
16
- + nginx_config_cleanup_files | default('') | list }}"
15
+ loop : " {{ nginx_config_files.files | default('') | map(attribute='path') |
16
+ list + nginx_config_cleanup_files | default('') | list }}"
17
17
notify : (Handler - NGINX Config) Run NGINX
You can’t perform that action at this time.
0 commit comments