From 70316cbf4cda3a87bd98f0901d8b3ec42e07edb2 Mon Sep 17 00:00:00 2001 From: rianhughes Date: Tue, 26 Sep 2023 11:53:42 +0300 Subject: [PATCH] update workflow to tests on pr --- .github/workflows/test.yml | 7 +++---- .github/workflows/test_rpc.yml | 5 +++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b1515ed7..c6bd84da 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,11 +3,10 @@ name: test on: push: branches: - - '**' - tags-ignore: - '**' - schedule: - - cron: "42 2 * * *" + pull_request: + branches: + - 'main' jobs: build: diff --git a/.github/workflows/test_rpc.yml b/.github/workflows/test_rpc.yml index 41919ad3..01849a9b 100644 --- a/.github/workflows/test_rpc.yml +++ b/.github/workflows/test_rpc.yml @@ -4,8 +4,9 @@ on: push: branches: - '**' - tags-ignore: - - '**' + pull_request: + branches: + - 'main' jobs: build: