Skip to content

Commit 0601023

Browse files
authored
Update release_pypi_after_merge.yml
1 parent 374dcd4 commit 0601023

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release_pypi_after_merge.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ on:
77
- 'version.txt'
88
types:
99
- closed
10-
10+
permissions:
11+
id-token: write
12+
contents: read
1113
jobs:
1214
build-n-publish:
1315
if: github.event_name == 'workflow_dispatch' || github.repository == 'hpcaitech/ColossalAI' && github.event.pull_request.merged == true && github.base_ref == 'main'
1416
name: Build and publish Python 🐍 distributions 📦 to PyPI
15-
runs-on: ubuntu-[self-hosted, ubuntu-latest]
17+
runs-on: ubuntu-latest
1618
timeout-minutes: 20
1719
steps:
1820
- uses: actions/checkout@v2
@@ -35,7 +37,7 @@ jobs:
3537
notify:
3638
name: Notify Lark via webhook
3739
needs: build-n-publish
38-
runs-on: [self-hosted, ubuntu-latest]
40+
runs-on: ubuntu-latest
3941
if: ${{ always() }}
4042
steps:
4143
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)