diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 34acc1ac..2a60c1d9 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 2c889af6..3edb4f37 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_unit_tests: diff --git a/.github/workflows/translate.yaml b/.github/workflows/translate.yaml index c5c30a88..d30123b1 100644 --- a/.github/workflows/translate.yaml +++ b/.github/workflows/translate.yaml @@ -1,6 +1,8 @@ name: "PySHiELD translate tests" + +# 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: