From 6381c010c20bad9688f223e4180b83108c6b08a9 Mon Sep 17 00:00:00 2001 From: AsafRollout <35894775+AsafRollout@users.noreply.github.com> Date: Wed, 17 Jan 2024 23:59:23 +0200 Subject: [PATCH 1/2] run tests on pull requests to master branch --- .github/workflows/test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2784746..48611cc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,10 @@ name: SDK Tests -on: [push] +on: + push: + pull_request: + branches: + - master jobs: run: From 2c0f062adc247d4d5ed9be01c481ec548002c619 Mon Sep 17 00:00:00 2001 From: AsafRollout <35894775+AsafRollout@users.noreply.github.com> Date: Thu, 18 Jan 2024 00:11:45 +0200 Subject: [PATCH 2/2] using only pull request push and pull request overlap we don't allow direct push to master anyway (branch protection) we need pull request to support forks so leaving just pull request --- .github/workflows/test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 48611cc..dd20bd5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,6 @@ name: SDK Tests on: - push: pull_request: branches: - master