Commit graph

12 commits

Author SHA1 Message Date
William Martin
1d38230675
Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
Robert Estelle
b91cfd8484
gh status: show status even if a comment 404s (#7873) 2023-09-05 04:34:44 +02:00
Sam Coe
6dbe7e6342
Linter fixes (#6722)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-12-12 15:27:32 +00:00
Sam Coe
cacff4ad6d
Use go-gh config package (#5771) 2022-06-23 11:50:04 +00:00
Mislav Marohnić
d103ba251a 💅 optimize fetches 2022-05-10 15:44:55 +02:00
Heath Stewart
fc4cd12cbf Ignore FORBIDDEN errors for gh status
Fixes #5587
2022-05-10 15:44:55 +02:00
ffalor
8f199ba730 status: exclude results from archived repositories
This adds `arhived:false` to the underlying search queries.
Additionally, the query approach was rearranged so that the query
strings are passed as GraphQL variables rather than being interpolated
directly into the GraphQL query string.

Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-05-10 11:41:04 +02:00
Håvard Anda Estensen
58cb773e09
Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
Mislav Marohnić
7ec2b2251d status: respect host configuration
Respect the default hostname determined from `hosts.yml` or GH_HOST
instead of always using `github.com`.
2022-04-08 14:54:40 +02:00
nate smith
2712ef05df fix tests to account for padding 2022-03-29 10:44:48 -05:00
nate smith
659a8ed1b9 use a StringSliceVar 2022-03-29 09:47:59 -05:00
nate smith
f22c325ea4 gh status 2022-03-28 11:53:13 -05:00