Skip to content

Commit 1ff1c89

Browse files
committed
refactor(template): Move local block into previous local block
1 parent b61dc19 commit 1ff1c89

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

playbook/update_repo.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,6 @@
111111
register: git_change
112112
failed_when: git_change.rc == 0 # fail when there are no changes
113113

114-
115-
# Commit changes
116-
- name: "Operator [{{ operator.name }}] create PR if changes were performed"
117-
tags: local
118-
block:
119114
- name: "Operator [{{ operator.name }}] stage all changes"
120115
command:
121116
argv: [git, add, .]
@@ -127,7 +122,7 @@
127122
chdir: "{{ work_dir }}/{{ operator.name }}"
128123

129124
# Fail if the remote branch exists, otherwise push changes and create a pull request
130-
- name: Remote Steps
125+
- name: "Operator [{{ operator.name }}] create PR if changes were performed"
131126
block:
132127
- name: "Operator [{{ operator.name }}] run 'git ls-remotes' to ensure that the branch {{ pr_branch_name }} doesn't exist"
133128
command:

0 commit comments

Comments
 (0)