Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 5b86d4f

Browse files
authored
Update config.yml
1 parent 983bd31 commit 5b86d4f

1 file changed

Lines changed: 5 additions & 22 deletions

File tree

config.yml

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,11 @@ before:
1313
title: Update the vulnerable dependency
1414
body: 03_update-dependency.md
1515
head: update-dependency
16-
- type: gate
17-
left: '%course.private%'
18-
operator: ===
19-
right: true
20-
required: false
21-
else:
22-
type: octokit
23-
method: 'repos.get'
24-
owner: '%user.username%'
25-
repo: '%course.template.name%'
26-
action_id: gotten_repo
27-
- type: gate
28-
left: '%course.private%'
29-
operator: ===
30-
right: false
31-
required: false
32-
else:
33-
type: octokit
34-
method: 'repos.get'
35-
owner: '%user.username%'
36-
repo: '%user.username%-%course.template.name%'
37-
action_id: gotten_repo
16+
- type: octokit
17+
method: 'repos.get'
18+
owner: '%payload.repository.owner.login%'
19+
repo: '%payload.repository.name%'
20+
action_id: gotten_repo
3821
- type: createIssue
3922
title: Welcome
4023
body: 01a_class-introduction-issue.md

0 commit comments

Comments
 (0)