mirror of
https://github.com/konpa/devicon.git
synced 2025-08-14 02:24:04 +02:00
New Feature: Add an Issue in-develop
labeler and functions to close these issues (#990)
* Working on labeler * Add in_develop_labeler * Build bot can close issues based on labels * Test mode for build * Fixed errors in labeler_bot * Update build-bot * Update .github/scripts/icomoon_build.py Co-authored-by: David Leal <halfpacho@gmail.com> * Remove test url Co-authored-by: David Leal <halfpacho@gmail.com> Co-authored-by: Clemens Bastian <8781699+amacado@users.noreply.github.com>
This commit is contained in:
5
.github/scripts/icomoon_build.py
vendored
5
.github/scripts/icomoon_build.py
vendored
@@ -49,6 +49,11 @@ def main():
|
||||
print("Creating the release message by querying the GitHub API...")
|
||||
get_release_message(args.token)
|
||||
|
||||
print("Closing issues with the `in-develop` label.")
|
||||
issues = api_handler.get_issues_by_labels(args.token, ["in-develop"])
|
||||
issue_nums = [issue_num["number"] for issue_num in issues]
|
||||
api_handler.close_issues(args.token, issue_nums)
|
||||
|
||||
print("Task completed.")
|
||||
except TimeoutException as e:
|
||||
util.exit_with_err("Selenium Time Out Error: \n" + str(e))
|
||||
|
Reference in New Issue
Block a user