From 5bb80dc41c17ff584150e8ff23f96082f64dec72 Mon Sep 17 00:00:00 2001 From: Jason Etcovitch Date: Thu, 11 Oct 2018 13:14:49 -0400 Subject: [PATCH] Move private check into before --- config.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/config.yml b/config.yml index 8cef1e9..d2341c2 100644 --- a/config.yml +++ b/config.yml @@ -6,13 +6,16 @@ template: repo: security-template before: - type: updateBranchProtection - - type: createIssue - title: Welcome - body: 01a_class-introduction-issue.md - type: createPullRequest title: Update the vulnerable dependency body: 03_update-dependency.md head: update-dependency + action_id: new_pr + - type: createIssue + title: Welcome + body: 01a_class-introduction-issue.md + data: + private: '%actions.new_pr.data.repository.private%' - type: createPullRequest title: Add a `.gitignore` file body: 04b_add-gitignore.md @@ -35,7 +38,6 @@ steps: with: 02_closed-issue.md data: url: '%actions.issue.data.html_url%' - private: '%payload.repository.private%' pages: 'https://%user.username%.github.io/%payload.repository.name%' - title: Find the vulnerable dependency