diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 325507e..56b1b01 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -1,15 +1,13 @@ # A GitHub Action to lint the cf-plot codebase. name: Linting and code formatting as per pre-commit checks -# Trigger on PR events targeting main. +# Trigger on all commits for any branch on: - # For now, do not enable on push to save on limited usage resource. - # push: - # branches: - # - main + push: + branches: + - '**' pull_request: - # 'reopened' enables manual retrigger via close & re-open. - types: [opened, reopened, ready_for_review] + types: [opened, synchronize, reopened, ready_for_review] branches: - main diff --git a/.github/workflows/run-image-comparison.yml b/.github/workflows/run-image-comparison.yml index cc255ef..0e8248a 100644 --- a/.github/workflows/run-image-comparison.yml +++ b/.github/workflows/run-image-comparison.yml @@ -1,9 +1,11 @@ # Run cf-plot tests including image comparison, in the reference environment name: Run image comparison testing +# Trigger on main PRs when (re-)opened, marked ready for review, and with any +# push of commits on the latest state of the PR branch after opening on: pull_request: - types: [opened, reopened, ready_for_review] + types: [opened, synchronize, reopened, ready_for_review] branches: - main diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index f77670d..74a9016 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,16 +2,11 @@ # A GitHub Action to run the cf-plot test suite after PR events on main. name: Run all testing excluding image comparison aspect -# Triggers the workflow on PR events targeting main. +# Trigger on main PRs when (re-)opened, marked ready for review, and with any +# push of commits on the latest state of the PR branch after opening on: - # For now, at least, do not enable on push to save on limited usage resource - #push: - # branches: - # - main pull_request: - # 'reopened' enables manual retrigger via close & re-open. Disable for all - # edits to manage limited resource (PRs often change before merge-ready). - types: [opened, reopened, ready_for_review] + types: [opened, synchronize, reopened, ready_for_review] branches: - main