From 928fbfcefc0176cd36a45017745564401183af9d Mon Sep 17 00:00:00 2001 From: Jirka Date: Tue, 22 Aug 2023 14:09:48 +0200 Subject: [PATCH] ci: merge general checks | v0.9.0 --- .github/workflows/ci-check-md-links.yml | 20 -------------------- .github/workflows/ci-checks.yml | 10 ++++++++-- 2 files changed, 8 insertions(+), 22 deletions(-) delete mode 100644 .github/workflows/ci-check-md-links.yml diff --git a/.github/workflows/ci-check-md-links.yml b/.github/workflows/ci-check-md-links.yml deleted file mode 100644 index ca8e6fa31d7..00000000000 --- a/.github/workflows/ci-check-md-links.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Check Markdown links -# https://github.com/gaurav-nelson/github-action-markdown-link-check - -on: - push: - branches: [master, "release/*"] - pull_request: - branches: [master, "release/*"] - types: [opened, reopened, ready_for_review, synchronize] - paths: - - ".github/workflows/ci-check-md-links.yml" - - ".github/workflows/markdown.links.config.json" - - "**/*.md" - -jobs: - check-md-links: - if: github.event.pull_request.draft == false - uses: Lightning-AI/utilities/.github/workflows/check-md-links.yml@v0.9.0 - with: - config-file: ".github/workflows/markdown.links.config.json" diff --git a/.github/workflows/ci-checks.yml b/.github/workflows/ci-checks.yml index 1d6399714ac..c4147b9141c 100644 --- a/.github/workflows/ci-checks.yml +++ b/.github/workflows/ci-checks.yml @@ -12,7 +12,7 @@ concurrency: jobs: check-code: - uses: Lightning-AI/utilities/.github/workflows/check-code.yml@main + uses: Lightning-AI/utilities/.github/workflows/check-code.yml@v0.9.0 with: actions-ref: main extra-typing: typing @@ -21,7 +21,8 @@ jobs: uses: Lightning-AI/utilities/.github/workflows/check-schema.yml@v0.9.0 check-package: - uses: Lightning-AI/utilities/.github/workflows/check-package.yml@main + if: github.event.pull_request.draft == false + uses: Lightning-AI/utilities/.github/workflows/check-package.yml@v0.9.0 with: actions-ref: main artifact-name: dist-packages-${{ github.sha }} @@ -31,3 +32,8 @@ jobs: "os": ["ubuntu-20.04", "macos-11", "windows-2022"], "python-version": ["3.8", "3.10"] } + + check-md-links: + uses: Lightning-AI/utilities/.github/workflows/check-md-links.yml@v0.9.0 + with: + config-file: ".github/workflows/markdown.links.config.json"