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

Commit 02ba5fc

Browse files
authored
Merge pull request #113 from githubtraining/get-private
Get the repo to check its visibility
2 parents bf1764a + 0f2d81e commit 02ba5fc

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

config.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,16 @@ before:
1010
title: Update the vulnerable dependency
1111
body: 03_update-dependency.md
1212
head: update-dependency
13-
action_id: new_pr
13+
- type: octokit
14+
method: 'repos.get'
15+
owner: '%user.username%'
16+
repo: '%course.template.name%'
17+
action_id: gotten_repo
1418
- type: createIssue
1519
title: Welcome
1620
body: 01a_class-introduction-issue.md
1721
data:
18-
private: '%actions.new_pr.data.repository.private%'
22+
private: '%actions.gotten_repo.data.private%'
1923
- type: createPullRequest
2024
title: Add a `.gitignore` file
2125
body: 04b_add-gitignore.md

0 commit comments

Comments
 (0)