From a7c8372adcef158900aac094b3356b3dcdedf951 Mon Sep 17 00:00:00 2001 From: Xing Zhang Date: Wed, 24 Apr 2024 23:07:37 -0700 Subject: [PATCH] test --- .github/workflows/ci.yml | 9 ++++++--- .github/workflows/deploy_doc.yml | 2 +- .github/workflows/pylint.yml | 9 ++++++--- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d5d5f2ab..f027593e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,11 @@ name: CI -on: [push, pull_request] - branches: - - '!doc' +on: + push: + branches: + - '!doc' + pull_request: + - main jobs: build: diff --git a/.github/workflows/deploy_doc.yml b/.github/workflows/deploy_doc.yml index 6883b989..40ec5ca9 100644 --- a/.github/workflows/deploy_doc.yml +++ b/.github/workflows/deploy_doc.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - - uses: actions/checkout@v2 + uses: actions/checkout@v2 - name: Set up Python 3.11 uses: actions/setup-python@v2 with: diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index d59c034f..55c8dae5 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -1,8 +1,11 @@ name: Pylint -on: [push, pull_request] - branches: - - '!doc' +on: + push: + branches: + - '!doc' + pull_request: + - main jobs: Pylint: