mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-12-26 14:02:57 +00:00
[workflow] fixed the on-merge condition check (#2452)
This commit is contained in:
@@ -8,11 +8,10 @@ on:
|
||||
types:
|
||||
- closed
|
||||
|
||||
|
||||
jobs:
|
||||
release:
|
||||
name: Draft Release Post
|
||||
if: github.repository == 'hpcaitech/ColossalAI'
|
||||
if: ( github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true ) && github.repository == 'hpcaitech/ColossalAI'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
Reference in New Issue
Block a user