diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 48ea1b9b..4e0cfc16 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/main_unit_tests.yaml b/.github/workflows/main_unit_tests.yaml index 495c9ff5..6d69f1a3 100644 --- a/.github/workflows/main_unit_tests.yaml +++ b/.github/workflows/main_unit_tests.yaml @@ -1,6 +1,8 @@ name: "pace main unit tests" + +# Run these these whenever ... on: - workflow_call: + workflow_call: # ... called from a downstream repo inputs: component_trigger: type: boolean @@ -10,8 +12,9 @@ on: type: string default: '' required: false - pull_request: - push: + pull_request: # ... a PR is opened / updated + merge_group: # ... the PR is added to the merge queue + push: # ... code is pushed to any branch # cancel running jobs if theres a newer push concurrency: