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

Commit 2d702d8

Browse files
committed
auto-close based on number to avoid replication lag
1 parent 2e6a793 commit 2d702d8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ steps:
4242
body: 02_move-local.md
4343
store:
4444
third_issue_url: '{{ result.data.html_url }}'
45+
third_issue_number: '{{ result.data.number }}'
4546
- type: respond
4647
with: 01_next.md
4748
data:
@@ -72,7 +73,8 @@ steps:
7273
data:
7374
private: '{{ payload.repository.private }}'
7475
- type: closeIssue
75-
issue: Uploading your project
76+
issue: '{{ store.third_issue_number }}'
77+
required: false
7678
- type: respond
7779
with: 03_move-done-local.md
7880
issue: Uploading your project

0 commit comments

Comments
 (0)