File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed
Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff 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 : |
You can’t perform that action at this time.
0 commit comments