diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c02d0bd3..b3efadb3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,10 +1,8 @@ name: Building and testing on: - push: - branches: ["main"] pull_request: - branches: ["main"] + types: [opened, reopened, synchronize, ready_for_review] jobs: test: diff --git a/.github/workflows/functional.yml b/.github/workflows/functional.yml index e7d49a97..737fcd19 100644 --- a/.github/workflows/functional.yml +++ b/.github/workflows/functional.yml @@ -2,6 +2,7 @@ name: Functional Tests on: pull_request: + types: [opened, reopened, synchronize, ready_for_review] jobs: test: diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 52a81244..15e063e0 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -2,7 +2,7 @@ name: golangci-lint on: pull_request: - types: [ opened, edited, synchronize, reopened ] + types: [opened, reopened, synchronize, ready_for_review] jobs: golangci-lint: diff --git a/.github/workflows/pr-gh-workflow-approve.yaml b/.github/workflows/pr-gh-workflow-approve.yaml index 1af035d6..53e432fd 100644 --- a/.github/workflows/pr-gh-workflow-approve.yaml +++ b/.github/workflows/pr-gh-workflow-approve.yaml @@ -6,7 +6,8 @@ name: Approve GH Workflows on: pull_request_target: - types: [opened, edited, reopened, synchronize] + # edited is needed here as this workflow checks for PR meta content + types: [opened, edited, reopened, synchronize, ready_for_review] permissions: {} diff --git a/.github/workflows/pr-verifier.yaml b/.github/workflows/pr-verifier.yaml index b30f74ef..e4a34594 100644 --- a/.github/workflows/pr-verifier.yaml +++ b/.github/workflows/pr-verifier.yaml @@ -4,7 +4,8 @@ permissions: {} on: pull_request_target: - types: [opened, edited, reopened, synchronize] + # edited is needed here as this workflow checks for PR meta content + types: [opened, edited, reopened, synchronize, ready_for_review] jobs: verify: