diff --git a/.github/workflows/test-anchor.yml b/.github/workflows/test-anchor.yml index 6723405..b510697 100644 --- a/.github/workflows/test-anchor.yml +++ b/.github/workflows/test-anchor.yml @@ -1,6 +1,9 @@ name: Test and Build Anchor -on: [push] +on: + pull_request: + push: + branches: ['main'] jobs: test-and-build: diff --git a/.github/workflows/test-web.yml b/.github/workflows/test-web.yml index b438bc5..6718a15 100644 --- a/.github/workflows/test-web.yml +++ b/.github/workflows/test-web.yml @@ -1,6 +1,9 @@ name: Test and Build Web -on: [push] +on: + pull_request: + push: + branches: ['main'] jobs: test-and-build: