From 9118f750a72dac5247397ea62aa049df15c4d76b Mon Sep 17 00:00:00 2001 From: sabonerune <102559104+sabonerune@users.noreply.github.com> Date: Fri, 11 Sep 2026 22:27:33 +0900 Subject: [PATCH] =?UTF-8?q?CI:=20`auto=5Fgen=5Fbind=5Fpr`=E3=82=A2?= =?UTF-8?q?=E3=82=AF=E3=82=B7=E3=83=A7=E3=83=B3=E3=81=A7=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E3=81=8C=E3=81=AA=E3=81=8B=E3=81=A3=E3=81=9F=E5=A0=B4=E5=90=88?= =?UTF-8?q?=E5=A4=B1=E6=95=97=E6=89=B1=E3=81=84=E3=81=AB=E3=81=AA=E3=82=8B?= =?UTF-8?q?=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/actions/auto_gen_bind_pr/action.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/actions/auto_gen_bind_pr/action.yml b/.github/actions/auto_gen_bind_pr/action.yml index 121bc1d..295bb88 100644 --- a/.github/actions/auto_gen_bind_pr/action.yml +++ b/.github/actions/auto_gen_bind_pr/action.yml @@ -40,11 +40,12 @@ runs: run: cargo build --target ${{ inputs.triple }} -p open_jtalk-sys --features generate-bindings shell: bash - name: check + id: check run: git status -s | grep -E "M|A" shell: bash + continue-on-error: true - name: create_pr - if: success() - id: cpr + if: steps.check.outcome == 'success' uses: peter-evans/create-pull-request@38e0b6e68b4c852a5500a94740f0e535e0d7ba54 # v4.2.4 with: commit-message: Automated generate bindings for ${{ inputs.triple }} @@ -54,7 +55,7 @@ runs: body: | Automated generate bindings for ${{ inputs.triple }} - name: do nothing - if: failure() + if: steps.check.outcome == 'failure' run: | echo "nothing to do. git status -s:" git status -s