Skip to content

Commit e31f2f1

Browse files
chore: fix typo (#16)
* chore: fix typo * ci: only add MOSuite issues (not PRs) to project * ci: add to syncweaver orchestrator project
1 parent 3d4789a commit e31f2f1

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

‎.github/PULL_REQUEST_TEMPLATE.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ when referring to the issue so it will be closed automatically when the PR is me
2020
- [ ] This comment contains a description of changes with justifications, with any relevant issues linked.
2121
- [ ] Run the capsule in Code Ocean and ensure it completes successfully with no errors.
2222
- [ ] Update `CHANGELOG.md` with a short description of any user-facing changes and reference the PR number. Follow the style described in <https://style.tidyverse.org/news.html>
23-
- [ ] The `test` workflow succeeds on the latest commit.
23+
- [ ] The `tests` workflow succeeds on the latest commit.

.github/workflows/mosuite-techdev-project.yml renamed to .github/workflows/gh-projects.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
steps:
2020
- name: Generate a token
2121
id: generate-token
22-
if: ${{ inputs.github-token == '' }}
2322
uses: actions/create-github-app-token@v2
2423
with:
2524
app-id: ${{ vars.CCBR_BOT_APP_ID }}
@@ -34,12 +33,13 @@ jobs:
3433

3534
- name: add to CCBR MOSuite project
3635
uses: actions/add-to-project@v1.0.2
36+
if: github.event_name == 'issues'
3737
with:
3838
project-url: https://github.com/orgs/CCBR/projects/32
3939
github-token: ${{ steps.generate-token.outputs.token }}
40+
4041
NIDAP-projects:
4142
runs-on: ubuntu-latest
42-
if: github.event_name == 'issues'
4343
steps:
4444
- name: Generate a token
4545
id: generate-token
@@ -51,6 +51,14 @@ jobs:
5151

5252
- name: add to NIDAP MOSuite project
5353
uses: actions/add-to-project@v1.0.2
54+
if: github.event_name == 'issues'
5455
with:
5556
project-url: https://github.com/orgs/NIDAP-Community/projects/3
5657
github-token: ${{ steps.generate-token.outputs.token }}
58+
59+
- name: add to syncweaver-orchestrator project
60+
uses: actions/add-to-project@v2
61+
if: github.event_name == 'pull_request'
62+
with:
63+
project-url: https://github.com/orgs/NIDAP-Community/projects/4
64+
github-token: ${{ steps.generate-token.outputs.token }}

0 commit comments

Comments
 (0)