From 8ba2f0a1489afce1b44190753129121c67e61f53 Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Fri, 10 May 2024 14:29:43 +0900 Subject: [PATCH] Fix commit step --- .github/workflows/snapshot.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 43284ca..2d00fe9 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -45,7 +45,8 @@ jobs: version: '3.36.0' # selfup {"extract":"\\d\\.\\d+\\.\\d+","replacer":["task", "--version"], "nth": 3} - run: | task snapshot | tee snapshot.txt - - name: Update related CI dependencies + - name: Commit if updated + continue-on-error: true run: | git diff-index --quiet HEAD || git commit -m 'Update snapshots' snapshot.txt - name: Count added commits