Skip to content

Commit fb08f62

Browse files
committed
sync
1 parent b319d7b commit fb08f62

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-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].23
26+
uses: ansible-cloud/[email protected].24
2727
with:
2828
controller_host: ${{ secrets.CONTROLLER_HOST }}
2929
controller_username: ${{ secrets.CONTROLLER_USERNAME }}

entrypoint.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ tee playbook.yml << EOF
8080
extra_vars: "$EXTRA_VARS"
8181
scm_url: "$scm_url"
8282
scm_branch: "$scm_branch"
83-
scm_refspec: "$scm_refspec"
83+
# scm_refspec: "$scm_refspec"
84+
scm_refspec: "refs/pull/*/head:refs/remotes/origin/pull/*"
8485
8586
- name: print out extra_vars
8687
debug:
@@ -102,7 +103,7 @@ tee playbook.yml << EOF
102103
- scm_type: "{{ project_info[0].scm_type }}"
103104
- scm_url: "{{ project_info[0].scm_url }}"
104105
- scm_branch: "{{ project_info[0].scm_branch }}"
105-
- scm_refspec: "refs/pull/*/head:refs/remotes/origin/pull/*"
106+
- scm_refspec: "{{ project_info[0].scm_refspec }}"
106107
- credential: "{{ project_info[0].credential }}"
107108
- scm_clean: "{{ project_info[0].scm_clean }}"
108109
- scm_delete_on_update: "{{ project_info[0].scm_delete_on_update }}"
@@ -120,7 +121,7 @@ tee playbook.yml << EOF
120121
scm_type: "{{ project_info[0].scm_type }}"
121122
scm_url: "$scm_url"
122123
scm_branch: "{{ project_info[0].scm_branch }}"
123-
scm_refspec: "$scm_refspec"
124+
scm_refspec: "{{ scm_refspec }}"
124125
# credential: "{{ project_info[0].credential }}"
125126
scm_clean: "{{ project_info[0].scm_clean }}"
126127
scm_delete_on_update: "{{ project_info[0].scm_delete_on_update }}"

0 commit comments

Comments
 (0)