Add Hacktoberfest issue label on Github
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hacktoberfest_issue_label-0.1.0.tar.gz.
File metadata
- Download URL: hacktoberfest_issue_label-0.1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68208ef9d772aa8261534ff2333922b532d5467d25399af5d97c724ff493a0ad
|
|
| MD5 |
a10f250ff5c59c55d89af6349d790fa8
|
|
| BLAKE2b-256 |
493e5f490ffd3c0af088c3655626b308fc2268b60b609bab0bf1898293390a0e
|
File details
Details for the file hacktoberfest_issue_label-0.1.0-py3.8.egg.
File metadata
- Download URL: hacktoberfest_issue_label-0.1.0-py3.8.egg
- Upload date:
- Size: 2.0 kB
- Tags: Egg
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d264927efcd9beac011ba9d8373a40dfc7c29a3b6f9519ed33596ea5bfd441a
|
|
| MD5 |
07c03d4f5cca108e1a27546ee287977c
|
|
| BLAKE2b-256 |
b47af0786b4cea508e8973602ef8857262772e3014c39920afec2d85d0d6e4b0
|
File details
Details for the file hacktoberfest_issue_label-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hacktoberfest_issue_label-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1dbbeaf7dcfebf95c0e6c8099d618a11d23817992360dae3c77e13af872937b1
|
|
| MD5 |
c01ff94f1ba021d3607a6162d3ac5f96
|
|
| BLAKE2b-256 |
6b06ea1904a049f06dec55d5f32f7e6bf5e2d92090779e669bbaf44a2246dd43
|