generated from virtual-labs/ph3-exp-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit a426ace
Showing
30 changed files
with
1,281 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
name: Experiment Review Request | ||
about: 'Get your experiment reviewed ' | ||
title: 'Request for Review of Experiment - ' | ||
labels: request for review | ||
assignees: '' | ||
|
||
--- | ||
|
||
## *Experiment Review Request* | ||
Use this to get experiment reviewed. | ||
|
||
1. *Exp Name*:<!--Fill the name of the experiment--> | ||
2. *Domain*:<!-- Fill the domain/discipline that the experiment belongs to--> | ||
3. *Lab Name*:<!-- Fill the name of the lab that the experiment belongs to--> | ||
4. *Testing URL*:<!-- https://virtual-labs.github.io/${{ github.repository }} --!> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
name: Pedagogy Review Request | ||
about: Get your pedagogy reviewed | ||
title: Request for Review of Pedagogy | ||
labels: pedagogy | ||
assignees: '' | ||
|
||
--- | ||
|
||
## *Pedagogy review Request* | ||
|
||
1. *Exp Name*:<!--Fill the name of the experiment--> | ||
2. *Domain*:<!-- Fill the domain/discipline that the experiment belongs to--> | ||
3. *Lab Name*:<!-- Fill the name of the lab that the experiment belongs to--> | ||
3. **Link to the pedagogy document**: { ../pedagogy/README.md] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
name: Storyboarding Review Request | ||
about: Get your storyboarding reviewed | ||
title: Request for Review of Storyboard | ||
labels: storyboarding | ||
assignees: '' | ||
|
||
--- | ||
|
||
## *Storyboarding review Request* | ||
|
||
1. **Exp Name**:<!--Name of the experiment--> | ||
2. **Domain**:<!-- Domain of the experiment--> | ||
3. **Discipline**:<!-- Discipline of the experiment--> | ||
4. **Link to the pedagogy document**: { ../storyboard/README.md] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
- # storyboarding | ||
name: "storyboarding" | ||
color: "f4ccff" | ||
description: "To be applied for storyboarding related issues" | ||
- # pedagogy | ||
name: "pedagogy" | ||
color: "8641c1" | ||
description: "To be applied for pedagogy related issues" | ||
- # bug | ||
name: "bug" | ||
color: "b60205" | ||
description: "This is bug" | ||
- # invalid | ||
name: ":no_entry_sign: invalid" | ||
color: "e6e6e6" | ||
description: "To be applied for invalid issues" | ||
- # Approved | ||
name: ":heavy_check_mark: approved" | ||
color: "e6e6e6" | ||
description: "To be applied for approved issues" | ||
- # Request for review | ||
name: "request for review" | ||
color: "e6e6e6" | ||
description: "To be applied for issues which are requested for reviewing" | ||
|
||
|
||
|
||
|
||
## For refernce or adding more labels https://github.com/crazy-max/ghaction-github-labeler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
|
||
# This workflow is used to build the experiment and push it to github pages | ||
|
||
name: Deploy Testing Branch | ||
on: | ||
push: | ||
# mentioning which branch should be used to build the experimnet | ||
branches: | ||
- testing | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16' | ||
check-latest: true | ||
- run: | | ||
git clone --depth=1 https://github.com/virtual-labs/ph3-lab-mgmt | ||
cd ph3-lab-mgmt | ||
npm install | ||
npm run build-exp | ||
cd ../ | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "vleadadmin" | ||
git checkout --orphan gh-pages | ||
git reset | ||
git add build/* -f | ||
git mv build/* ./ -f | ||
git commit -m "https://virtual-labs.github.io/${{ github.event.repository.name }} click on the link to test your code." | ||
- uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.ORG_OWNER_GITHUB_TOKEN }} | ||
force: true | ||
branch: gh-pages | ||
# Reference : https://github.com/marketplace/actions/github-push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: labels | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- '.github/labels.yml' | ||
- '.github/workflows/labels.yml' | ||
|
||
jobs: | ||
labeler: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Checkout | ||
uses: actions/checkout@v2 | ||
- | ||
name: Run Labeler | ||
uses: crazy-max/ghaction-github-labeler@v3 | ||
# The following job will delete the script that creates dev and testing branches | ||
- uses: actions/checkout@v2 | ||
- run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "vleadadmin" | ||
git checkout main | ||
git rm -rf .github/workflows/labels.yml | ||
git commit -m "Label script is deleted." | ||
- uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.ORG_OWNER_GITHUB_TOKEN }} | ||
force: true | ||
branch: main |
Oops, something went wrong.