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

Commit e78fe3d

Browse files
authored
Merge pull request #14 from githubtraining/fix-issue-close
Replace issue search with store
2 parents de25e2e + b3cbddf commit e78fe3d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ before:
1919
body: 00_introduction-issue.md
2020
data:
2121
private: '%actions.gotten_repo.data.private%'
22+
store:
23+
welcomeIssueNumber: '{{ result.data.number }}'
2224

2325
steps:
2426

@@ -36,7 +38,7 @@ steps:
3638
body: 01_find-vulnerabilities.md
3739
action_id: firstIssue
3840
- type: closeIssue
39-
issue: Welcome
41+
issue: '{{ store.welcomeIssueNumber }}'
4042
- type: octokit
4143
method: repos.getPages
4244
owner: '%payload.repository.owner.login%'

0 commit comments

Comments
 (0)