Kynan Ware
e299b56c0f
test(prompter): remove needless variable declaration
2025-04-02 13:08:36 -06:00
Kynan Ware
e42af35839
tests(prompter): rename huhprompter
2025-04-02 13:00:46 -06:00
Kynan Ware
0d7fd36f11
test(prompter): replace assert with require
2025-04-02 12:58:44 -06:00
Kynan Ware
94bbd26aab
fix(prompter): rename huhprompter
2025-04-02 12:56:44 -06:00
Kynan Ware
f7de9e0c11
test(prompter): go-expect based prompter tests
2025-04-02 12:56:44 -06:00
Kynan Ware
88a98ea63a
feat(prompter): include no as false-y value
...
Co-authored-by: Andy Feller <andyfeller@github.com>
2025-04-02 11:58:10 -06:00
Kynan Ware
92b1a8e0f0
test(prompter): remove t.parallel calls
...
t.Parallel() cannot be used when env vars are being set.
2025-03-31 16:01:16 -06:00
Kynan Ware
e973ee332d
fix(md prompter): accessible prompt allows blank
...
Allow the accessible markdownEditor prompt to be blank when the blank
comes from the result of an interactive session with an editor, even when
blankAllowed is false.
This behavior aligns the accessible prompter with the behavior of the
current standard prompter.
2025-03-31 15:58:20 -06:00
Kynan Ware
7b0c09541d
feat(md prompter): md prompt respects blankAllowed
...
Accessible prompter now respects blankAllowed and
will not prompt for "skip" if blankAllowed is false.
2025-03-31 15:52:26 -06:00
Kynan Ware
202c1ad16b
feat(prompter): add accessible prompter support
2025-03-31 15:04:57 -06:00
Kynan Ware
e30244686c
Merge pull request #10680 from cli/kw/update-go-gh-and-document-sprig-funcs
...
Update go-gh and document available sprig funcs
2025-03-28 12:22:14 -06:00
Kynan Ware
aac43870d4
test(release view): fix indentation
2025-03-28 12:11:57 -06:00
Kynan Ware
c6b4da8f20
doc(formatting): add line breaks for readability
2025-03-28 12:00:06 -06:00
Andy Feller
77ae842eb0
Merge pull request #10649 from cli/andyfeller/table-headers-contrast-github-cli-831
...
Ensure table headers are thematically contrasting
2025-03-28 13:30:49 -04:00
Andy Feller
eabd02793e
Renaming tabl eheader variables for maintainability
2025-03-28 13:19:27 -04:00
Kynan Ware
89def92f04
doc(formatting): update sprig func descriptions
2025-03-28 09:58:48 -06:00
Kynan Ware
c1fbc2f05b
test(many): fix whitespace in tests expectations
...
Due to https://github.com/charmbracelet/glamour/pull/334 , the margin
used for markdown rendering has changed by a couple spaces. This
corrects the relevant tests to accomodate that change.
2025-03-27 14:21:13 -06:00
Kynan Ware
0750750f7c
Merge pull request #10660 from cli/kw/fix-run-list-with-org-required-workflows
...
`run list`: do not fail on ruleset imposed workflows
2025-03-27 13:36:29 -06:00
Kynan Ware
229216e830
doc(run shared): clarify 404 handling
2025-03-26 15:29:20 -06:00
Kynan Ware
49588555c3
Merge branch 'trunk' into kw/update-go-gh-and-document-sprig-funcs
2025-03-26 12:38:10 -06:00
Andy Feller
ce4f5c5970
Merge pull request #10683 from cli/andyfeller/10590-alias-delete-test-safeguard
...
Implement safeguard for `gh alias delete` test, prevent wiping out GitHub CLI configuration
2025-03-26 14:08:48 -04:00
Andy Feller
86ad62a62d
Fixes #10590
...
Implement missing safeguard causing `gh alias delete` tests to wipe out tester's GitHub CLI configuration.
2025-03-26 13:42:39 -04:00
Kynan Ware
ffd42ea256
docs: add Sprig library functions to help topics
2025-03-26 10:21:41 -06:00
Kynan Ware
efa1825eff
chore: update go-gh to v2.12.0
2025-03-26 10:21:22 -06:00
Andy Feller
79f1b07fb1
Implement and fix tests for table headers
2025-03-25 15:29:05 -04:00
Kynan Ware
c6f574ccb1
test(run list): update rulesets test name
...
Co-authored-by: Andy Feller <andyfeller@github.com>
2025-03-24 14:14:50 -06:00
Kynan Ware
30960d59bc
doc(run list): add enterprise ruleset notes
...
Co-authored-by: Andy Feller <andyfeller@github.com>
2025-03-24 14:04:16 -06:00
Kynan Ware
a35ae3b8bb
refactor(tests): update test name for org workflows
2025-03-24 12:54:47 -06:00
Kynan Ware
d3ad4f410b
docs(run list): doc runs without workflow names
2025-03-24 12:45:03 -06:00
Kynan Ware
5817f6fce9
fix(run list): do not fail on org workflows
2025-03-24 12:34:50 -06:00
William Martin
b78734068d
Merge pull request #10657 from rylwin/fix-typos
...
Fix typos in CONTRIBUTING.md
2025-03-24 10:16:38 +01:00
Ryan Winograd
c7cd041a40
Fix typos in CONTRIBUTING.md
2025-03-22 15:21:24 -05:00
Andy Feller
736ce69f66
Underline table headers if colors enabled but no theme
...
This enhances the table header stylizing logic to ensure they are underlined if color is enabled but no theme is desired.
2025-03-21 12:27:09 -04:00
Andy Feller
6355e54e3c
Ensure table headers are thematically contrasting
...
This commit refactors the color format around table headers to ensure the GitHub CLI uses thematically appropriate colors based on dark background, light background, or no color at all.
In order to do so, `ColorScheme` needs information from the terminal about the background appearance (dark, light, none) to determine appropriate muted color.
2025-03-21 11:51:03 -04:00
Andy Feller
cf3f0ee6b8
Merge pull request #10599 from iamazeem/10559-win-sign-tech-debt
...
`./script/sign` cleanup
2025-03-19 13:32:59 -04:00
Andy Feller
45ffa3c668
Merge pull request #10625 from cli/andyfeller/10580-edit-last-regression
...
Editing last comment on issue or pull request only creates comment if --create-if-none flag is set
2025-03-19 08:24:42 -04:00
Andy Feller
c2ba5c0199
Curly bracket wrapping acceptance tests
2025-03-19 08:05:51 -04:00
Andy Feller
bbb8213e9c
Refactor commentable logic
2025-03-19 07:56:53 -04:00
Andy Feller
bec527d49e
Clean up pr/issue comment test names
2025-03-18 16:14:14 -04:00
Andy Feller
a47651df43
Bring issue/PR comment tests up to par, correct
...
This commit brings the `gh issue comment` and `gh pr comment` tests in line with one another while also addressing some corner cases that weren't previously tested.
2025-03-18 15:56:25 -04:00
William Martin
8f0a465252
Merge pull request #10630 from cli/wm/revert-api-encoding
...
Revert "Merge pull request #10384 from iamazeem/9798-gh-api-encode-package-name"
2025-03-18 13:28:10 +01:00
William Martin
f4382d1345
Revert "Merge pull request #10384 from iamazeem/9798-gh-api-encode-package-name"
...
This reverts commit ed2c322a73 , reversing
changes made to f019cf7cea .
2025-03-18 13:13:06 +01:00
Andy Feller
018b6d6d07
Initial pass fixing gh issue and gh pr comment
...
There is still a bit of work to get the gh pr comment tests in order, however this goes a way towards fixing the issue along with acceptance tests.
Also, it turns out some of the issue acceptance tests were really running `pr` tests.
2025-03-17 23:18:36 -04:00
Azeem Sajid
342e3cd70c
More cleanup
2025-03-14 12:17:24 +05:00
Azeem Sajid
f3e4976da3
./script/sign cleanup
2025-03-14 11:51:09 +05:00
William Martin
234d2effd5
Merge pull request #10593 from cli/dependabot/go_modules/golang.org/x/net-0.36.0
...
Bump golang.org/x/net from 0.34.0 to 0.36.0
2025-03-13 11:37:06 +01:00
dependabot[bot]
7901f2364c
Bump golang.org/x/net from 0.34.0 to 0.36.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.34.0 to 0.36.0.
- [Commits](https://github.com/golang/net/compare/v0.34.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-13 01:52:40 +00:00
Tyler McGoffin
66e51c723e
Merge pull request #10574 from wata727/make_missing_workflow_scope_regexp_aware_of_github_app
...
[gh repo sync] Make missing workflow regexp aware of GitHub App
2025-03-12 11:08:01 -07:00
Tyler McGoffin
5c6a80588b
Merge branch 'trunk' into make_missing_workflow_scope_regexp_aware_of_github_app
2025-03-12 10:55:21 -07:00
Tyler McGoffin
4a8ecee3b8
Merge pull request #10413 from iamazeem/5099-gh-release-create-upload-expand-glob-patterns-on-windows
...
[gh release create/upload] Expand glob patterns for all platforms
2025-03-12 08:50:00 -07:00