This commit is contained in:
flybird11111 2025-05-29 10:46:57 +08:00
parent d322ff8cd9
commit 45dd5a7cf4
14 changed files with 14 additions and 14 deletions

View File

@ -7,7 +7,7 @@ on:
jobs:
close-issues:
if: github.event.pull_request.draft == false && github.base_ref == 'main' && github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'
runs-on: [self-hosted, ubuntu-latest]-latest
runs-on: [self-hosted, ubuntu-latest]
permissions:
issues: write
pull-requests: write

View File

@ -15,7 +15,7 @@ on:
jobs:
matrix_preparation:
name: Prepare Container List
runs-on: [self-hosted, ubuntu-latest]-latest
runs-on: [self-hosted, ubuntu-latest]
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:

View File

@ -9,7 +9,7 @@ on:
jobs:
matrix_preparation:
name: Prepare Container List
runs-on: [self-hosted, ubuntu-latest]-latest
runs-on: [self-hosted, ubuntu-latest]
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
concurrency:

View File

@ -9,7 +9,7 @@ on:
jobs:
matrix_preparation:
name: Prepare Container List
runs-on: [self-hosted, ubuntu-latest]-latest
runs-on: [self-hosted, ubuntu-latest]
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:

View File

@ -11,7 +11,7 @@ jobs:
build-doc:
name: Trigger Documentation Build Workflow
if: github.repository == 'hpcaitech/ColossalAI'
runs-on: [self-hosted, ubuntu-latest]-latest
runs-on: [self-hosted, ubuntu-latest]
steps:
- name: trigger workflow in ColossalAI-Documentation
run: |

View File

@ -33,7 +33,7 @@ jobs:
if: |
github.event.pull_request.draft == false &&
github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'
runs-on: [self-hosted, ubuntu-latest]-latest
runs-on: [self-hosted, ubuntu-latest]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-check-doc
cancel-in-progress: true

View File

@ -15,7 +15,7 @@ jobs:
if: |
github.event.pull_request.draft == false &&
github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI' && github.event_name == 'pull_request'
runs-on: [self-hosted, ubuntu-latest]-latest
runs-on: [self-hosted, ubuntu-latest]
outputs:
any_changed: ${{ steps.changed-files.outputs.any_changed }}
changed_files: ${{ steps.changed-files.outputs.all_changed_files }}

View File

@ -12,7 +12,7 @@ jobs:
release:
name: Draft Release Post
if: ( github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true ) && github.repository == 'hpcaitech/ColossalAI'
runs-on: [self-hosted, ubuntu-latest]-latest
runs-on: [self-hosted, ubuntu-latest]
steps:
- uses: actions/checkout@v2
with:

View File

@ -14,7 +14,7 @@ jobs:
github.base_ref == 'main' &&
github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'
name: Check the examples user want
runs-on: [self-hosted, ubuntu-latest]-latest
runs-on: [self-hosted, ubuntu-latest]
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:

View File

@ -17,7 +17,7 @@ jobs:
if: |
github.event.pull_request.draft == false &&
github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI' && github.event_name == 'pull_request'
runs-on: [self-hosted, ubuntu-latest]-latest
runs-on: [self-hosted, ubuntu-latest]
outputs:
matrix: ${{ steps.setup-matrix.outputs.matrix }}
anyChanged: ${{ steps.setup-matrix.outputs.anyChanged }}

View File

@ -46,7 +46,7 @@ jobs:
notify:
name: Notify Lark via webhook
needs: release
runs-on: [self-hosted, ubuntu-latest]-latest
runs-on: [self-hosted, ubuntu-latest]
if: ${{ always() }}
steps:
- uses: actions/checkout@v2

View File

@ -36,7 +36,7 @@ jobs:
notify:
name: Notify Lark via webhook
needs: publish
runs-on: [self-hosted, ubuntu-latest]-latest
runs-on: [self-hosted, ubuntu-latest]
if: ${{ always() }} && github.repository == 'hpcaitech/ColossalAI'
steps:
- uses: actions/checkout@v2

View File

@ -35,7 +35,7 @@ jobs:
notify:
name: Notify Lark via webhook
needs: build-n-publish
runs-on: [self-hosted, ubuntu-latest]-latest
runs-on: [self-hosted, ubuntu-latest]
if: ${{ always() }}
steps:
- uses: actions/checkout@v2

View File

@ -9,7 +9,7 @@ jobs:
build-n-publish:
if: github.event_name == 'workflow_dispatch' || github.repository == 'hpcaitech/ColossalAI'
name: Build and publish Python 🐍 distributions 📦 to Test PyPI
runs-on: [self-hosted, ubuntu-latest]-latest
runs-on: [self-hosted, ubuntu-latest]
timeout-minutes: 20
steps:
- uses: actions/checkout@v2