diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c02d0bd..b3efadb 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 e7d49a9..737fcd1 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 52a8124..15e063e 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 1af035d..53e432f 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 b30f74e..e4a3459 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: