From c7dcb4cb6ff17df0ec83d3fb306b967abc9a571a Mon Sep 17 00:00:00 2001 From: Jiahao Su Date: Wed, 2 Sep 2026 16:00:49 +0800 Subject: [PATCH] Change the names of the yml files --- .github/workflows/{ci.yml => ascend-ci.yml} | 6 +++--- .../{create_release.yml => ascend-create_release.yml} | 2 +- .../{documentation.yml => ascend-documentation.yml} | 2 +- .github/workflows/{llvm-build.yml => ascend-llvm-build.yml} | 4 ++-- .github/workflows/{pre-commit.yml => ascend-pre-commit.yml} | 0 ...runner-preparation.yml => ascend-runner-preparation.yml} | 0 .github/workflows/{wheels.yml => ascend-wheels.yml} | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) rename .github/workflows/{ci.yml => ascend-ci.yml} (86%) rename .github/workflows/{create_release.yml => ascend-create_release.yml} (98%) rename .github/workflows/{documentation.yml => ascend-documentation.yml} (98%) rename .github/workflows/{llvm-build.yml => ascend-llvm-build.yml} (98%) rename .github/workflows/{pre-commit.yml => ascend-pre-commit.yml} (100%) rename .github/workflows/{runner-preparation.yml => ascend-runner-preparation.yml} (100%) rename .github/workflows/{wheels.yml => ascend-wheels.yml} (96%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ascend-ci.yml similarity index 86% rename from .github/workflows/ci.yml rename to .github/workflows/ascend-ci.yml index 68290e35e9..628c16c904 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ascend-ci.yml @@ -19,9 +19,9 @@ on: - 'Makefile' - 'safe_compile.cmake' - 'version.txt' - - '.github/workflows/ci.yml' + - '.github/workflows/ascend-ci.yml' - '.github/workflows/integration-tests-ascend.yml' - - '.github/workflows/runner-preparation.yml' + - '.github/workflows/ascend-runner-preparation.yml' merge_group: branches: [main, 'release/**', '**-dev'] types: [checks_requested] @@ -36,7 +36,7 @@ permissions: read-all jobs: runner-preparation: - uses: ./.github/workflows/runner-preparation.yml + uses: ./.github/workflows/ascend-runner-preparation.yml integration-tests-ascend: needs: runner-preparation diff --git a/.github/workflows/create_release.yml b/.github/workflows/ascend-create_release.yml similarity index 98% rename from .github/workflows/create_release.yml rename to .github/workflows/ascend-create_release.yml index 6237c79520..fb8b8b1570 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/ascend-create_release.yml @@ -13,7 +13,7 @@ on: release: types: [published] pull_request: - paths: [.github/workflows/create_release.yml] + paths: [.github/workflows/ascend-create_release.yml] jobs: diff --git a/.github/workflows/documentation.yml b/.github/workflows/ascend-documentation.yml similarity index 98% rename from .github/workflows/documentation.yml rename to .github/workflows/ascend-documentation.yml index 9ed0a9883a..7e4046889a 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/ascend-documentation.yml @@ -7,7 +7,7 @@ on: - 'docs/**/*.md' - 'docs/**/*.mdx' - 'docs/**/_toc.yaml' - - '.github/workflows/documentation.yml' + - '.github/workflows/ascend-documentation.yml' - '.github/docs-ci/**' # Manual full scans (checkAll) to surface errors in existing docs # that incremental PR runs never touch. These never block a PR. diff --git a/.github/workflows/llvm-build.yml b/.github/workflows/ascend-llvm-build.yml similarity index 98% rename from .github/workflows/llvm-build.yml rename to .github/workflows/ascend-llvm-build.yml index a5e098b359..fa33178327 100644 --- a/.github/workflows/llvm-build.yml +++ b/.github/workflows/ascend-llvm-build.yml @@ -5,13 +5,13 @@ on: paths: - cmake/llvm-hash.txt - third_party/ascend/patch/llvm_patch_*.patch - - .github/workflows/llvm-build.yml + - .github/workflows/ascend-llvm-build.yml - .github/workflows/build/almalinux.Dockerfile pull_request: paths: - cmake/llvm-hash.txt - third_party/ascend/patch/llvm_patch_*.patch - - .github/workflows/llvm-build.yml + - .github/workflows/ascend-llvm-build.yml - .github/workflows/build/almalinux.Dockerfile workflow_dispatch: diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/ascend-pre-commit.yml similarity index 100% rename from .github/workflows/pre-commit.yml rename to .github/workflows/ascend-pre-commit.yml diff --git a/.github/workflows/runner-preparation.yml b/.github/workflows/ascend-runner-preparation.yml similarity index 100% rename from .github/workflows/runner-preparation.yml rename to .github/workflows/ascend-runner-preparation.yml diff --git a/.github/workflows/wheels.yml b/.github/workflows/ascend-wheels.yml similarity index 96% rename from .github/workflows/wheels.yml rename to .github/workflows/ascend-wheels.yml index e85fec7597..f442ceb2b0 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/ascend-wheels.yml @@ -6,7 +6,7 @@ on: branches: [release/**] pull_request: paths: - - .github/workflows/wheels.yml + - .github/workflows/ascend-wheels.yml - .github/workflows/build/wheels.Dockerfile - setup.py - pyproject.toml @@ -59,7 +59,7 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | LAST_SHA=$(gh api \ - "/repos/${{ github.repository }}/actions/workflows/wheels.yml/runs?branch=${{ github.ref_name }}&status=success&per_page=1" \ + "/repos/${{ github.repository }}/actions/workflows/ascend-wheels.yml/runs?branch=${{ github.ref_name }}&status=success&per_page=1" \ --jq '.workflow_runs[0].head_sha // empty') if [ "$LAST_SHA" = "${{ github.sha }}" ]; then echo "Current commit already has a successful wheel build. Skipping."