We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76c55df commit aa02a1aCopy full SHA for aa02a1a
.github/workflows/test.yml
@@ -58,7 +58,9 @@ jobs:
58
id: appname
59
run: |
60
OWNER_SHORT=${GITHUB_REPOSITORY_OWNER:0:5}
61
- APP_NAME="${OWNER_SHORT}-${GITHUB_REPOSITORY}-${GITHUB_EVENT_NUMBER}"
+ REPO_NAME=$(basename "$GITHUB_REPOSITORY")
62
+ PR_NUMBER=$(jq .number "$GITHUB_EVENT_PATH")
63
+ APP_NAME="${OWNER_SHORT}-${REPO_NAME}-${PR_NUMBER}"
64
echo "APP_NAME=$APP_NAME"
65
echo "APP_NAME=$APP_NAME" >> $GITHUB_ENV
66
0 commit comments