Commit graph

17 commits

Author SHA1 Message Date
Andy Feller
b4be8cbf9d Add acceptance tests for gh variable 2024-10-17 16:03:37 -04:00
Andy Feller
e335113706 Minor polish / consistency 2024-10-17 16:02:39 -04:00
Andy Feller
7c534e6010 Refactor env2upper, env2lower; add docs
This commit refactors 2 new custom commands to work more like the native env command, allowing for multiple environment variables to be set.

Additionally, the documentation on acceptance tests have been expanded to list out custom commands.
2024-10-17 10:49:17 -04:00
Andy Feller
5bbe69b1d1 Update secret note about potential failure
Environments are only supported for GitHub Actions with certain plans; `gh-acceptance-testing` at this time does not have this support.
2024-10-17 10:11:50 -04:00
Andy Feller
b1792403be Add testscripts for gh secret, helper cmds
These are initial testscripts for confidence around core `gh secret` subcommands around 1) repository, 2) repository environment, 3) organization secrets.

Each testscript exercises the 3 core subcommands of `gh secret`: 1) setting, 2) listing, and 3) deleting each type of secret.

Note should be made that repository environments do not exist for free accounts such as `gh-acceptance-testing`.
2024-10-17 10:09:08 -04:00
William Martin
e37cf8b694
Fix issue creation with metadata regex
Co-authored-by: Andy Feller <andyfeller@github.com>
2024-10-15 19:11:49 +01:00
William Martin
6970eb36f1 Acceptance test issue command 2024-10-14 20:53:43 +02:00
William Martin
2a0be61d5e Ensure pr create with metadata has assignment 2024-10-14 14:50:59 +02:00
William Martin
1f94cf9dac Acceptance test PR list 2024-10-14 14:31:24 +02:00
William Martin
4d986aaed4 Acceptance test PR creation with metadata 2024-10-14 13:54:31 +02:00
William Martin
ee5709a4b6 Acceptance test PR comment 2024-10-11 16:31:22 +02:00
William Martin
99a9b35410 Acceptance test PR merge and rebase 2024-10-11 16:31:22 +02:00
William Martin
eb9eeb10e1 Use txtar extension for testscripts 2024-10-11 16:31:22 +02:00
William Martin
464a69ae87 Use stdout2env in PR acceptance tests 2024-10-11 16:31:21 +02:00
William Martin
37171628c6 Acceptance test PR checkout 2024-10-11 16:31:21 +02:00
William Martin
5ed237c65a Add pr view test script 2024-10-11 16:31:21 +02:00
William Martin
d7465bdf3c Initial testscript introduction 2024-10-11 16:31:16 +02:00