mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-06-23 23:00:23 -07:00
Close issue on outdated version
This commit is contained in:
parent
5f79605a00
commit
c37f46b3dd
6
.github/workflows/bug-report-version.yml
vendored
6
.github/workflows/bug-report-version.yml
vendored
@ -42,5 +42,11 @@ jobs:
|
||||
repo: context.repo.repo,
|
||||
body: `You are using an outdated version of Bloxstrap (${issueVersion}). Please update to the [latest version of Bloxstrap](https://github.com/pizzaboxer/bloxstrap/releases/latest). If you are still experiencing the bug, please reopen this issue.`
|
||||
});
|
||||
return github.rest.issues.update({
|
||||
issue_number: context.issue.number,
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
state: 'closed'
|
||||
});
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user