From fc01299e678cac7c96f8fad591c2b8cd7b2783db Mon Sep 17 00:00:00 2001 From: MaxMustermann2 <82761650+MaxMustermann2@users.noreply.github.com> Date: Tue, 16 Apr 2024 13:47:52 +0000 Subject: [PATCH] fix(ci): run build on branches --- .github/workflows/ante-benchmark.yml | 4 ++-- .github/workflows/build.yml | 1 + .github/workflows/dependencies.yml | 1 + .github/workflows/semgrep.yml | 1 + .github/workflows/solidity-test.yml | 1 + 5 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ante-benchmark.yml b/.github/workflows/ante-benchmark.yml index 590b0349c..fc3c2006b 100644 --- a/.github/workflows/ante-benchmark.yml +++ b/.github/workflows/ante-benchmark.yml @@ -9,14 +9,14 @@ on: - develop - main - master - paths: + paths: - 'app/ante/**' pull_request: branches: - develop - main - master - paths: + paths: - 'app/ante/**' jobs: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d5e7b9557..37b44f458 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,7 @@ name: Build on: pull_request: + push: branches: - develop - main diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index 33c4860b3..5904d75ce 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -1,4 +1,5 @@ name: "Dependency Review" +# only run on pull requests and not any branch. on: pull_request permissions: diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index 4531ca4ca..2e4f1bb02 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -10,6 +10,7 @@ on: - main - master paths: + # existing issues to be ignored unless this file changes - .github/workflows/semgrep.yml schedule: - cron: '0 0 * * 0' diff --git a/.github/workflows/solidity-test.yml b/.github/workflows/solidity-test.yml index 74e83d6e5..895cd9f55 100644 --- a/.github/workflows/solidity-test.yml +++ b/.github/workflows/solidity-test.yml @@ -1,6 +1,7 @@ name: Solidity Test on: pull_request: + push: branches: - develop - main