Skip to content

Commit 8d85695

Browse files
committed
2.1.5
2.1.5
1 parent e82a19a commit 8d85695

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
steps:
2424
- name: Load the ansible-cloud action
2525
id: controller_job
26-
uses: ansible-cloud/[email protected].4
26+
uses: ansible-cloud/[email protected].5
2727
with:
2828
controller_host: ${{ secrets.CONTROLLER_HOST }}
2929
controller_username: ${{ secrets.CONTROLLER_USERNAME }}

entrypoint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ tee playbook.yml << EOF
9292
template_info: "{{ query('awx.awx.controller_api', 'job_templates', verify_ssl=$CONTROLLER_VERIFY_SSL, query_params={ 'name': '$JOB_TEMPLATE' }) }}"
9393
scm_url: "$scm_url"
9494
scm_branch: "$scm_branch"
95-
scm_refspec: "$scm_refspec"
95+
scm_refspec: "refs/pull/*/head:refs/remotes/origin/pull/*"
9696
9797
- name: print out existing project settings to terminal
9898
debug:
@@ -103,7 +103,7 @@ tee playbook.yml << EOF
103103
- scm_type: "{{ project_info[0].scm_type }}"
104104
- scm_url: "{{ project_info[0].scm_url }}"
105105
- scm_branch: "{{ project_info[0].scm_branch }}"
106-
- scm_refspec: "refs/pull/*/head:refs/remotes/origin/pull/*"
106+
- scm_refspec: "{{ project_info[0].scm_refspec }}"
107107
- credential: "{{ project_info[0].credential }}"
108108
- scm_clean: "{{ project_info[0].scm_clean }}"
109109
- scm_delete_on_update: "{{ project_info[0].scm_delete_on_update }}"
@@ -171,7 +171,7 @@ tee playbook.yml << EOF
171171
scm_type: "{{ project_info[0].scm_type }}"
172172
scm_url: "$scm_url"
173173
scm_branch: "{{ project_info[0].scm_branch }}"
174-
scm_refspec: "$scm_refspec"
174+
scm_refspec: "{{ scm_refspec }}"
175175
# credential: "{{ project_info[0].credential }}"
176176
scm_clean: "{{ project_info[0].scm_clean }}"
177177
scm_delete_on_update: "{{ project_info[0].scm_delete_on_update }}"

0 commit comments

Comments
 (0)