Skip to content

Commit

Permalink
[generate bindings]
Browse files Browse the repository at this point in the history
  • Loading branch information
CGMossa committed Nov 16, 2023
1 parent 9430cb8 commit 72957d9
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }})
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 72957d9

Please sign in to comment.