From dd8608af77ca0335a596c1fd24d9b3b04d9df84c Mon Sep 17 00:00:00 2001 From: Martin Styk Date: Tue, 29 Oct 2024 22:06:12 +0100 Subject: [PATCH] ci: run validation on mainline Signed-off-by: Martin Styk --- .github/workflows/review-checks.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/review-checks.yml b/.github/workflows/review-checks.yml index 84a82ed3c..db388cbbb 100644 --- a/.github/workflows/review-checks.yml +++ b/.github/workflows/review-checks.yml @@ -1,4 +1,4 @@ -name: Review-checks +name: Validation # If a pull-request is pushed then cancel all previously running jobs related # to that pull-request @@ -6,10 +6,14 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} cancel-in-progress: true -on: [pull_request] +on: + push: + branches: + - python-3 + pull_request: jobs: - check-docs: + validate-docs: env: # https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16