From f88ce8e3c42cebadf87a19cab15ef877d86c4474 Mon Sep 17 00:00:00 2001 From: Nikita Pastukhov Date: Wed, 29 May 2024 17:30:04 +0300 Subject: [PATCH] chore: add CI workflows names conversation --- ...ken-links-in-docs.yaml => docs_check-broken-links.yaml} | 7 ++++--- .github/workflows/{deploy-docs.yaml => docs_deploy.yaml} | 2 +- ...e_release_notes.yaml => docs_update-release-notes.yaml} | 2 +- .github/workflows/{codeql.yml => pr_codeql.yml} | 3 ++- .../{dependency-review.yaml => pr_dependency-review.yaml} | 3 +++ .github/workflows/{test_pr.yaml => pr_tests.yaml} | 2 +- .github/workflows/publish_coverage.yml | 4 ++-- .github/workflows/{publish_pypi.yml => release_pypi.yml} | 0 8 files changed, 14 insertions(+), 9 deletions(-) rename .github/workflows/{check-broken-links-in-docs.yaml => docs_check-broken-links.yaml} (89%) rename .github/workflows/{deploy-docs.yaml => docs_deploy.yaml} (97%) rename .github/workflows/{update_release_notes.yaml => docs_update-release-notes.yaml} (97%) rename .github/workflows/{codeql.yml => pr_codeql.yml} (98%) rename .github/workflows/{dependency-review.yaml => pr_dependency-review.yaml} (95%) rename .github/workflows/{test_pr.yaml => pr_tests.yaml} (99%) rename .github/workflows/{publish_pypi.yml => release_pypi.yml} (100%) diff --git a/.github/workflows/check-broken-links-in-docs.yaml b/.github/workflows/docs_check-broken-links.yaml similarity index 89% rename from .github/workflows/check-broken-links-in-docs.yaml rename to .github/workflows/docs_check-broken-links.yaml index 98ce376519..7791a3b5c9 100644 --- a/.github/workflows/check-broken-links-in-docs.yaml +++ b/.github/workflows/docs_check-broken-links.yaml @@ -2,10 +2,11 @@ name: Check docs for broken links on: workflow_run: - workflows: ["pages-build-deployment"] - types: [completed] + types: + - completed + workflows: + - docs_deploy -jobs: check-broken-link: name: Check docs for broken links runs-on: ubuntu-latest diff --git a/.github/workflows/deploy-docs.yaml b/.github/workflows/docs_deploy.yaml similarity index 97% rename from .github/workflows/deploy-docs.yaml rename to .github/workflows/docs_deploy.yaml index b600b4af9b..d3cd1ce1d2 100644 --- a/.github/workflows/deploy-docs.yaml +++ b/.github/workflows/docs_deploy.yaml @@ -1,4 +1,4 @@ -name: Deploy Docs +name: Deploy Docs to GitHub Pages on: push: diff --git a/.github/workflows/update_release_notes.yaml b/.github/workflows/docs_update-release-notes.yaml similarity index 97% rename from .github/workflows/update_release_notes.yaml rename to .github/workflows/docs_update-release-notes.yaml index b03ea6977f..b6280cc13b 100644 --- a/.github/workflows/update_release_notes.yaml +++ b/.github/workflows/docs_update-release-notes.yaml @@ -1,4 +1,4 @@ -name: Update Release Notes +name: Create PR with updated Release Notes on: workflow_dispatch: null diff --git a/.github/workflows/codeql.yml b/.github/workflows/pr_codeql.yml similarity index 98% rename from .github/workflows/codeql.yml rename to .github/workflows/pr_codeql.yml index a32bd7560a..7e97facb72 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/pr_codeql.yml @@ -14,7 +14,8 @@ name: "CodeQL" on: pull_request: types: - - review_requested + - opened + - synchronize branches: - main schedule: diff --git a/.github/workflows/dependency-review.yaml b/.github/workflows/pr_dependency-review.yaml similarity index 95% rename from .github/workflows/dependency-review.yaml rename to .github/workflows/pr_dependency-review.yaml index 56d3aafc09..11ad023407 100644 --- a/.github/workflows/dependency-review.yaml +++ b/.github/workflows/pr_dependency-review.yaml @@ -8,6 +8,9 @@ name: 'Dependency Review' on: pull_request: + types: + - opened + - synchronize branches: - main paths: diff --git a/.github/workflows/test_pr.yaml b/.github/workflows/pr_tests.yaml similarity index 99% rename from .github/workflows/test_pr.yaml rename to .github/workflows/pr_tests.yaml index c3dca40ded..d482e1c0f7 100644 --- a/.github/workflows/test_pr.yaml +++ b/.github/workflows/pr_tests.yaml @@ -1,4 +1,4 @@ -name: Test-PR +name: Run all tests on: pull_request: diff --git a/.github/workflows/publish_coverage.yml b/.github/workflows/publish_coverage.yml index c7f5a6ac3f..232e677ccc 100644 --- a/.github/workflows/publish_coverage.yml +++ b/.github/workflows/publish_coverage.yml @@ -1,4 +1,4 @@ -name: Smokeshow +name: Publish tests coverage to Smokeshow and set coverage % status to commit on: push: @@ -20,7 +20,7 @@ jobs: - run: pip install smokeshow - - uses: dawidd6/action-download-artifact@v3.1.4 # nosemgrep + - uses: dawidd6/action-download-artifact@v3.1.4 # nosemgrep with: workflow: test_pr.yaml commit: ${{ github.event.workflow_run.head_sha }} diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/release_pypi.yml similarity index 100% rename from .github/workflows/publish_pypi.yml rename to .github/workflows/release_pypi.yml