Skip to content

Commit 49fae4a

Browse files
ci: only add MOSuite issues (not PRs) to project
1 parent 540e6ea commit 49fae4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/mosuite-techdev-project.yml‎

Lines changed: 1 addition & 1 deletion
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 }}
@@ -33,6 +32,7 @@ jobs:
3332

3433
- name: add to MOSuite project
3534
uses: actions/add-to-project@v1.0.2
35+
if: github.event_name == 'issues'
3636
with:
3737
project-url: https://github.com/orgs/CCBR/projects/32
3838
github-token: ${{ steps.generate-token.outputs.token }}

0 commit comments

Comments
 (0)