diff --git a/.github/workflows/aws_tfhe_integer_tests.yml b/.github/workflows/aws_tfhe_integer_tests.yml index ad6c4cc920..4e72f8752f 100644 --- a/.github/workflows/aws_tfhe_integer_tests.yml +++ b/.github/workflows/aws_tfhe_integer_tests.yml @@ -26,6 +26,11 @@ on: jobs: should-run: + if: + (github.event_name == 'push' && github.repository == 'zama-ai/tfhe-rs') || + (github.event_name == 'schedule' && github.repository == 'zama-ai/tfhe-rs') || + (github.event_name == 'pull_request' && contains(github.event.label.name, 'approved')) || + github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest permissions: pull-requests: write diff --git a/.github/workflows/aws_tfhe_signed_integer_tests.yml b/.github/workflows/aws_tfhe_signed_integer_tests.yml index cf6bbd9426..21bf592ee4 100644 --- a/.github/workflows/aws_tfhe_signed_integer_tests.yml +++ b/.github/workflows/aws_tfhe_signed_integer_tests.yml @@ -26,6 +26,11 @@ on: jobs: should-run: + if: + (github.event_name == 'push' && github.repository == 'zama-ai/tfhe-rs') || + (github.event_name == 'schedule' && github.repository == 'zama-ai/tfhe-rs') || + (github.event_name == 'pull_request' && contains(github.event.label.name, 'approved')) || + github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest permissions: pull-requests: write