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
b82d60be
Commit
b82d60be
authored
Feb 11, 2022
by
Frank Lee
Browse files
updated github action for develop branch (#214)
parent
7d15ec7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
.github/workflows/PR_CI.yml
.github/workflows/PR_CI.yml
+3
-3
No files found.
.github/workflows/PR_CI.yml
View file @
b82d60be
...
@@ -5,7 +5,7 @@ on: pull_request
...
@@ -5,7 +5,7 @@ on: pull_request
jobs
:
jobs
:
cancel_previous_workflow
:
cancel_previous_workflow
:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
if
:
github.event.pull_request.draft ==
false
&& github.base_ref == 'main' && github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'
if
:
github.event.pull_request.draft ==
false
&&
(
github.base_ref == 'main'
|| github.base_ref == 'develop')
&& github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'
steps
:
steps
:
-
name
:
Cancel Previous Runs
-
name
:
Cancel Previous Runs
uses
:
styfle/cancel-workflow-action@0.9.1
uses
:
styfle/cancel-workflow-action@0.9.1
...
@@ -15,7 +15,7 @@ jobs:
...
@@ -15,7 +15,7 @@ jobs:
assign_reviewer
:
assign_reviewer
:
name
:
Assign Reviewer for PR
name
:
Assign Reviewer for PR
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
if
:
github.event.pull_request.draft ==
false
&& github.base_ref == 'main' && github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI' && toJson(github.event.pull_request.requested_reviewers) == '[]'
if
:
github.event.pull_request.draft ==
false
&&
(
github.base_ref == 'main'
|| github.base_ref == 'develop')
&& github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI' && toJson(github.event.pull_request.requested_reviewers) == '[]'
steps
:
steps
:
-
uses
:
kentaro-m/auto-assign-action@v1.2.1
-
uses
:
kentaro-m/auto-assign-action@v1.2.1
with
:
with
:
...
@@ -23,7 +23,7 @@ jobs:
...
@@ -23,7 +23,7 @@ jobs:
build
:
build
:
name
:
Build and Test Colossal-AI
name
:
Build and Test Colossal-AI
if
:
${{ always() }} && github.event.pull_request.draft ==
false
&& github.base_ref == 'main' && github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'
if
:
${{ always() }} && github.event.pull_request.draft ==
false
&&
(
github.base_ref == 'main'
|| github.base_ref == 'develop')
&& github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'
needs
:
[
cancel_previous_workflow
,
assign_reviewer
]
needs
:
[
cancel_previous_workflow
,
assign_reviewer
]
runs-on
:
[
self-hosted
,
gpu
]
runs-on
:
[
self-hosted
,
gpu
]
container
:
container
:
...
...
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