Hacktoberfest Label
Add Hacktoberfest to Github issues
By default, this script will add the issue label Hacktoberfest to any issue with the label good first issue on https://github.com/conan-io/conan.
However, you can customize the repository and issue label by arguments.
Usage
usage: hacktoberfest.py [-h] [--token TOKEN] [--repository REPOSITORY] [--issue ISSUE] [--label LABEL]
Apply Hacktoberfest label to Github issues.
optional arguments:
-h, --help show this help message and exit
--token TOKEN Github API Token
--repository REPOSITORY
Github organization/repository name
--issue ISSUE, -i ISSUE
Update only one Github issue
--label LABEL, -l LABEL
Update ALL issues based on label name
Authentication
The script consumes the developer tokens for authentication.
It can be passed by the argument --token, or by the environment variable GITHUB_OAUTH_TOKEN.
Examples
-
Add
Hacktoberfestissue label to https://github.com/conan-io/conan, to all issues withgood first issue(Default behavior)python hacktoberfest.py
-
Add
Hacktoberfestissue label to https://github.com/foo/bar issue #5python hacktoberfest.py --repository=foo/bar --issue=5
-
Add 'Hacktoberfest' issue label to issue label to all issues with
bugpython hacktoberfest.py --label=bug
LICENSE
Release files for hacktoberfest-issue-label 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hacktoberfest_issue_label-0.1.0.tar.gz | 3.6 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hacktoberfest_issue_label-0.1.0-py3.8.egg | Legacy Egg format | - | - | Details |
| hacktoberfest_issue_label-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / hacktoberfest_issue_label-0.1.0.tar.gz
| Download URL | hacktoberfest_issue_label-0.1.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
68208ef9d772aa8261534ff2333922b532d5467d25399af5d97c724ff493a0ad
|
|
BLAKE2b-256 checksum How to use checksums |
493e5f490ffd3c0af088c3655626b308fc2268b60b609bab0bf1898293390a0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.8.0
|
Release files / hacktoberfest_issue_label-0.1.0-py3.8.egg
| Download URL | hacktoberfest_issue_label-0.1.0-py3.8.egg |
|---|---|
| Size | 2.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
4d264927efcd9beac011ba9d8373a40dfc7c29a3b6f9519ed33596ea5bfd441a
|
|
BLAKE2b-256 checksum How to use checksums |
b47af0786b4cea508e8973602ef8857262772e3014c39920afec2d85d0d6e4b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.8.0
|
Release files / hacktoberfest_issue_label-0.1.0-py3-none-any.whl
| Download URL | hacktoberfest_issue_label-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1dbbeaf7dcfebf95c0e6c8099d618a11d23817992360dae3c77e13af872937b1
|
|
BLAKE2b-256 checksum How to use checksums |
6b06ea1904a049f06dec55d5f32f7e6bf5e2d92090779e669bbaf44a2246dd43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.8.0
|