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

Commit 3332c97

Browse files
authored
Merge pull request #109 from githubtraining/JasonEtco-patch-1
Move private check into before
2 parents 910e19b + 5bb80dc commit 3332c97

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

config.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@ template:
66
repo: security-template
77
before:
88
- type: updateBranchProtection
9-
- type: createIssue
10-
title: Welcome
11-
body: 01a_class-introduction-issue.md
129
- type: createPullRequest
1310
title: Update the vulnerable dependency
1411
body: 03_update-dependency.md
1512
head: update-dependency
13+
action_id: new_pr
14+
- type: createIssue
15+
title: Welcome
16+
body: 01a_class-introduction-issue.md
17+
data:
18+
private: '%actions.new_pr.data.repository.private%'
1619
- type: createPullRequest
1720
title: Add a `.gitignore` file
1821
body: 04b_add-gitignore.md
@@ -35,7 +38,6 @@ steps:
3538
with: 02_closed-issue.md
3639
data:
3740
url: '%actions.issue.data.html_url%'
38-
private: '%payload.repository.private%'
3941
pages: 'https://%user.username%.github.io/%payload.repository.name%'
4042

4143
- title: Find the vulnerable dependency

0 commit comments

Comments
 (0)