diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 7e790e2f..ea02dc88 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -1,6 +1,12 @@ name: "Lint" + +# Run these these whenever ... on: - pull_request: + pull_request: # ... a PR is opened / updated + merge_group: # ... the PR is added to the merge queue + push: + branches: + - main # ... when merging into the main branch jobs: lint: diff --git a/.github/workflows/pace_tests.yaml b/.github/workflows/pace_tests.yaml index ce13a8cc..2a3fd66f 100644 --- a/.github/workflows/pace_tests.yaml +++ b/.github/workflows/pace_tests.yaml @@ -1,6 +1,12 @@ name: "pace main tests" + +# Run these these whenever ... on: - pull_request: + pull_request: # ... a PR is opened / updated + merge_group: # ... the PR is added to the merge queue + push: + branches: + - main # ... when merging into the main branch jobs: pace_main_tests: diff --git a/.github/workflows/pyshield_tests.yaml b/.github/workflows/pyshield_tests.yaml index 10b8ff19..2ea3e44a 100644 --- a/.github/workflows/pyshield_tests.yaml +++ b/.github/workflows/pyshield_tests.yaml @@ -1,6 +1,12 @@ name: "pySHiELD translate tests" + +# Run these these whenever ... on: - pull_request: + pull_request: # ... a PR is opened / updated + merge_group: # ... the PR is added to the merge queue + push: + branches: + - main # ... when merging into the main branch jobs: pyshield_translate_tests: diff --git a/.github/workflows/translate.yaml b/.github/workflows/translate.yaml index d28b7a2a..a9aa9acd 100644 --- a/.github/workflows/translate.yaml +++ b/.github/workflows/translate.yaml @@ -1,6 +1,8 @@ name: "pyFV3 translate tests (subset)" + +# Run these these whenever ... on: - workflow_call: + workflow_call: # ... called from a downstream repo inputs: component_trigger: type: boolean @@ -10,7 +12,11 @@ on: type: string default: '' required: false - pull_request: + pull_request: # ... a PR is opened / updated + merge_group: # ... the PR is added to the merge queue + push: + branches: + - main # ... when merging into the main branch # cancel running jobs if theres a newer push concurrency: