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

Commit

Permalink
auto-close based on number to avoid replication lag
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorsector committed Apr 22, 2020
1 parent 2e6a793 commit 2d702d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ steps:
body: 02_move-local.md
store:
third_issue_url: '{{ result.data.html_url }}'
third_issue_number: '{{ result.data.number }}'
- type: respond
with: 01_next.md
data:
Expand Down Expand Up @@ -72,7 +73,8 @@ steps:
data:
private: '{{ payload.repository.private }}'
- type: closeIssue
issue: Uploading your project
issue: '{{ store.third_issue_number }}'
required: false
- type: respond
with: 03_move-done-local.md
issue: Uploading your project
Expand Down

0 comments on commit 2d702d8

Please sign in to comment.