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.
This commit is contained in:
Andy Feller 2024-10-17 10:11:50 -04:00
parent b1792403be
commit 5bbe69b1d1

View file

@ -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'