This is an automated email from the ASF dual-hosted git repository. tison pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
commit 850394e2619873441b531a66de4d3ebd36e50d4e Author: tison <[email protected]> AuthorDate: Wed Jan 11 09:53:26 2023 +0800 ci: run sync-without-push separately Signed-off-by: tison <[email protected]> --- .../{ci-precommit.yml => ci-dummy-sync.yml} | 21 +++++---------------- .github/workflows/ci-precommit.yml | 14 -------------- 2 files changed, 5 insertions(+), 30 deletions(-) diff --git a/.github/workflows/ci-precommit.yml b/.github/workflows/ci-dummy-sync.yml similarity index 68% copy from .github/workflows/ci-precommit.yml copy to .github/workflows/ci-dummy-sync.yml index c5873b911bf..568d375e0f4 100644 --- a/.github/workflows/ci-precommit.yml +++ b/.github/workflows/ci-dummy-sync.yml @@ -15,27 +15,16 @@ # specific language governing permissions and limitations # under the License. -name: CI - Precommit +name: CI - Dummy Sync on: pull_request: branches: [main] + paths: + - '.github/actions/sync-content/action.yml' + - '.github/workflows/ci-dummy-sync.yml' + - 'tools/pytools/**' jobs: - license: - name: Check license header - runs-on: ubuntu-latest - timeout-minutes: 10 - steps: - - uses: actions/checkout@v3 - - uses: ./.github/actions/check-license-header - with: - config: tools/ci/licenserc.toml - - # TODO: If it causes too much time to every PR, split to another - # workflow file and filter by paths: - # - '.github/actions/sync-content/action.yml' - # - '.github/workflows/ci-precommit.yml' - # - 'tools/pytools/**' sync-without-push: name: Check synchronize content runs-on: ubuntu-latest diff --git a/.github/workflows/ci-precommit.yml b/.github/workflows/ci-precommit.yml index c5873b911bf..b597dbb7636 100644 --- a/.github/workflows/ci-precommit.yml +++ b/.github/workflows/ci-precommit.yml @@ -30,17 +30,3 @@ jobs: - uses: ./.github/actions/check-license-header with: config: tools/ci/licenserc.toml - - # TODO: If it causes too much time to every PR, split to another - # workflow file and filter by paths: - # - '.github/actions/sync-content/action.yml' - # - '.github/workflows/ci-precommit.yml' - # - 'tools/pytools/**' - sync-without-push: - name: Check synchronize content - runs-on: ubuntu-latest - timeout-minutes: 180 - steps: - - uses: actions/checkout@v3 - - name: Sync content without push - uses: ./.github/actions/sync-content
