+
Skip to content

feat(deep-purple-checks): allow to pass app name explicitly #135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 15, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/deep-purple-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ on:
required: true
STAGING_PERSONAL_ACCESS_TOKEN:
required: true
inputs:
app:
type: string
default: ""
required: false

jobs:
run-deep-purple-tests:
Expand All @@ -24,7 +29,12 @@ jobs:

- name: Extract app name from package.json
run: |
echo "APP_NAME=$(jq -r '.name' package.json | sed 's/@typeform\///')" >> $GITHUB_ENV
APP="${{ inputs.app }}"
if [ -z "${APP}" ]; then
echo "APP_NAME=$(jq -r '.name' package.json | sed 's/@typeform\///')" >> $GITHUB_ENV
else
echo "APP_NAME=${APP}" >> $GITHUB_ENV
fi

- name: Print extracted app name
run: echo "Extracted APP_NAME is ${{ env.APP_NAME }}"
Expand Down
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载