Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
483efdab
Unverified
Commit
483efdab
authored
Jan 11, 2023
by
Frank Lee
Committed by
GitHub
Jan 11, 2023
Browse files
[workflow] fixed the on-merge condition check (#2452)
parent
cfd1d5ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
.github/workflows/draft_github_release_post.yml
.github/workflows/draft_github_release_post.yml
+1
-2
.github/workflows/release_docker.yml
.github/workflows/release_docker.yml
+6
-3
No files found.
.github/workflows/draft_github_release_post.yml
View file @
483efdab
...
@@ -8,11 +8,10 @@ on:
...
@@ -8,11 +8,10 @@ on:
types
:
types
:
-
closed
-
closed
jobs
:
jobs
:
release
:
release
:
name
:
Draft Release Post
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
runs-on
:
ubuntu-latest
steps
:
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/checkout@v2
...
...
.github/workflows/release_docker.yml
View file @
483efdab
...
@@ -2,13 +2,16 @@ name: Publish Docker Image to DockerHub
...
@@ -2,13 +2,16 @@ name: Publish Docker Image to DockerHub
on
:
on
:
workflow_dispatch
:
workflow_dispatch
:
release
:
pull_request
:
types
:
[
published
]
paths
:
-
'
version.txt'
types
:
-
closed
jobs
:
jobs
:
release
:
release
:
name
:
Publish Docker Image to DockerHub
name
:
Publish Docker Image to DockerHub
if
:
github.repository == 'hpcaitech/ColossalAI'
if
:
( github.event_name == 'workflow_dispatch' || github.event.pull_request.merged ==
true
) &&
github.repository == 'hpcaitech/ColossalAI'
runs-on
:
[
self-hosted
,
gpu
]
runs-on
:
[
self-hosted
,
gpu
]
container
:
container
:
image
:
"
hpcaitech/docker-in-docker:latest"
image
:
"
hpcaitech/docker-in-docker:latest"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment