From 5bbe69b1d11c3898f4a77ca02b30f82cc65f55fe Mon Sep 17 00:00:00 2001 From: Andy Feller Date: Thu, 17 Oct 2024 10:11:50 -0400 Subject: [PATCH] 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. --- acceptance/testdata/secret/secret-repo-env.txtar | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acceptance/testdata/secret/secret-repo-env.txtar b/acceptance/testdata/secret/secret-repo-env.txtar index 2a8972b37..aba0994c8 100644 --- a/acceptance/testdata/secret/secret-repo-env.txtar +++ b/acceptance/testdata/secret/secret-repo-env.txtar @@ -11,7 +11,7 @@ defer gh repo delete --yes $ORG/$SCRIPT_NAME-$RANDOM_STRING exec gh repo clone $ORG/$SCRIPT_NAME-$RANDOM_STRING cd $SCRIPT_NAME-$RANDOM_STRING -# Create a repository environment +# Create a repository environment, will fail if organization does not have environment support exec gh api /repos/$ORG/$SCRIPT_NAME-$RANDOM_STRING/environments/testscripts -X PUT --jq '.name' stdout 'testscripts'