From 72957d9517319deafdb7a9f5e785c23dfb349579 Mon Sep 17 00:00:00 2001 From: cgmossa Date: Thu, 16 Nov 2023 23:25:51 +0100 Subject: [PATCH] [generate bindings] --- .github/workflows/test.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4812b46a..400bd9e0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,10 +26,10 @@ jobs: # # ref. # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#issue_comment - if: | - github.event_name != 'issue_comment' - || (github.event.issue.pull_request && github.event.comment.author_association == 'MEMBER' && startsWith(github.event.comment.body, '/bindings')) - + # if: | + # github.event_name != 'issue_comment' + # || (github.event.issue.pull_request && github.event.comment.author_association == 'MEMBER' && startsWith(github.event.comment.body, '/bindings')) + if: false runs-on: ${{ matrix.config.os }} name: ${{ matrix.config.os }} (R-${{ matrix.config.r }} rust-${{ matrix.config.rust-version }}-${{ matrix.config.target || 'default' }}) @@ -234,10 +234,14 @@ jobs: # env: # RUST_TARGET: ${{ matrix.config.target }} + is_generated_binding_commit: + name: Debug + run: | + echo ${{ github.event.head_commit.message }} + echo ${{ contains(github.event.head_commit.message, '[generate bindings]') }} + pr_generated_bindings: name: Make PR with generated bindings - env: - ACTIONS_STEP_DEBUG: 1 needs: test_with_bindgen if: ${{ contains(github.event.head_commit.message, '[generate bindings]') }} runs-on: ubuntu-latest