Skip to content

Commit

Permalink
feat: Updated docs/contributing/task-management/cr
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Mar 23, 2024
1 parent 12d90a2 commit aa8cd99
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/contributing/task-management/create-a-task.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,27 @@ dateCreated: 2022-07-27T21:36:24.019Z
3. If it already exists, click it and up-vote it as described 👉 [here](vote-on-tasks-and-sort-by-priority.md)
4. If not, click the `New issue` button
5. Describe in as much detail as possible and add any tags that you think will be helpful in filtering and sorting

# Automating Task Creation

To automate the creation of GitHub issues for tasks listed in the `docs/treaty/strategy.md` document, you can use the `create_issues_from_strategy_doc.py` script. This script allows for bulk creation of issues, which can save time when dealing with multiple tasks. However, it should be used with caution to avoid creating duplicate issues.

## Prerequisites

- **Python Installation**: Ensure you have Python installed on your system. You can download it from [python.org](https://www.python.org/downloads/).
- **Necessary Python Packages**: The script requires the `requests` package. Install it using pip:
```
pip install requests
```
- **GitHub API Token**: You need a GitHub API token with the necessary permissions to create issues in the repository. Follow the instructions on GitHub to create your token.

## Running the Script

1. Ensure all prerequisites are met.
2. Navigate to the directory containing the `create_issues_from_strategy_doc.py` script.
3. Run the script with the following command:
```
python create_issues_from_strategy_doc.py
```

Remember to use this script responsibly to avoid creating duplicate issues.

0 comments on commit aa8cd99

Please sign in to comment.