Skip to content

Commit c27ade1

Browse files
authored
Fix github integration pipeline error (#83)
1 parent b26df14 commit c27ade1

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/tests-integration.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,19 +193,28 @@ jobs:
193193
with:
194194
ref: master
195195

196+
- name: Update reference to Fabric modules (${{ needs.prerequisites.outputs.latest_tag }})
197+
shell: bash
198+
run: |
199+
python tools/update_fabric_ref.py . ${{ needs.prerequisites.outputs.latest_tag }}
200+
201+
- name: Check for file changes
202+
id: git-status
203+
run: |
204+
echo $(git status --porcelain)
205+
echo "changes=$(git status --porcelain | tr -d '\n')" >> $GITHUB_OUTPUT
206+
196207
- uses: webfactory/ssh-agent@v0.9.0
208+
if: steps.git-status.outputs.changes != ''
197209
with:
198210
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
199211

200212
- name: Configure Git
213+
if: steps.git-status.outputs.changes != ''
201214
run: |
202215
git config user.name "genai-factory-robot"
203216
git config user.email "genai-factory-robot@google.com"
204217
205-
- name: Check for file changes
206-
id: git-status
207-
run: echo "changes=$(git status --porcelain | tr -d '\n')" >> $GITHUB_OUTPUT
208-
209218
- name: Commit and push feature branch
210219
if: steps.git-status.outputs.changes != ''
211220
run: |

0 commit comments

Comments
 (0)