File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,7 @@ jobs:
164
164
git pull origin ${{ env.HEAD_REF }} || true
165
165
166
166
- name : Update parent requirements
167
+ if : github.run_attempt == 1
167
168
run : |
168
169
cd ${{ github.workspace }}/${{ matrix.app }}
169
170
REQUIREMENTS_FILES=$(ls requirements/*.txt)
@@ -198,8 +199,8 @@ jobs:
198
199
fi
199
200
200
201
git add requirements/*.txt ${{ env.DOCKERFILE }}
201
- if [ -f "dev.${{ env.DOCKERFILE }}" ]; then git add dev.${{ env.DOCKERFILE }}; fi
202
- if [ -f "gpu.${{ env.DOCKERFILE }}" ]; then git add gpu.${{ env.DOCKERFILE }}; fi
202
+ git add dev.${{ env.DOCKERFILE }} || true
203
+ git add gpu.${{ env.DOCKERFILE }} || true
203
204
git commit -m "ci: update requirements and Dockerfile" || true
204
205
git push origin ${{ env.HEAD_REF }} || true
205
206
echo "::notice::${{ matrix.app }} - updated requirement files and ${{ env.DOCKERFILE }}s"
You can’t perform that action at this time.
0 commit comments