Skip to content

Commit c719d68

Browse files
author
Christian Richter
committed
Allow items to be set IN PROGRESS for assigned handles
Signed-off-by: Christian Richter <crichter@suse.com>
1 parent a6ff0ea commit c719d68

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,13 @@ Just run `make` in the project folder, binary can be found in `bin/`
1414
## Run
1515

1616
```
17-
$> GH_TOKEN=<your-personal-github-access-token> GH_REPOS="org1/repo1 org1/repo2"
17+
$> GH_HANDLES=<list-of-github-handles-seperated-by-space> GH_TOKEN=<your-personal-github-access-token> GH_REPOS="org1/repo1 org1/repo2"
1818
bin/github2orgmode > output.org
1919
```
2020

21-
The personal github access token can be created in your profile page [https://github.com/settings/tokens](https://github.com/settings/tokens).
21+
**Notes:**
22+
23+
- The personal github access token can be created in your profile page [https://github.com/settings/tokens](https://github.com/settings/tokens).
24+
25+
- Each issue that is assigned to one of the handles listed in `GH_HANDLES` will
26+
be set to `IN PROGRESS`.

cmd/github2orgmode/github2orgmode.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import (
1313

1414
func main() {
1515
reposlist := strings.Fields(os.Getenv("GH_REPOS"))
16+
handlelist := strings.Fields(os.Getenv("GH_HANDLES"))
1617
token := os.Getenv("GH_TOKEN")
1718
ctx := context.Background()
1819
ts := oauth2.StaticTokenSource(

0 commit comments

Comments
 (0)