Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions .github/actions/run-browserstack-maestro/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ runs:
TIMEOUT: ${{ fromJson(inputs.timeout) }}
MAX_ATTEMPTS: ${{ fromJson(inputs.max_attempts) }}
shell: bash
run: |
run: | #shell
set -o pipefail

API="https://api-cloud.browserstack.com/app-automate/maestro/v2"
Expand Down Expand Up @@ -256,7 +256,7 @@ runs:
BROWSERSTACK_USERNAME: ${{ inputs.browserstack_username }}
BROWSERSTACK_ACCESS_KEY: ${{ inputs.browserstack_access_key }}
shell: bash
run: |
run: | #shell
[[ "$BUILD_ID" == "null" ]] && exit 0
echo "Stopping BrowserStack build $BUILD_ID"
curl --show-error -s -u "$BROWSERSTACK_USERNAME:$BROWSERSTACK_ACCESS_KEY" \
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/bump-first-party-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- uses: actions/create-github-app-token@v3
id: app-token
with:
app-id: ${{ vars.PR_BOT_APP_ID }}
client-id: ${{ vars.PR_BOT_CLIENT_ID }}
private-key: ${{ secrets.PR_BOT_PRIVATE_KEY }}

- uses: actions/checkout@v7
Expand All @@ -48,7 +48,7 @@ jobs:
node-version-file: package.json

- name: Bump in lockfiles
run: |
run: | #shell
set -euo pipefail
for dir in . backend; do
( cd "$dir"
Expand All @@ -69,7 +69,7 @@ jobs:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
APP_SLUG: ${{ steps.app-token.outputs.app-slug }}
BOT_USER_ID: ${{ vars.PR_BOT_USER_ID }}
run: |
run: | #shell
set -euo pipefail
if git diff --quiet; then echo "${PACKAGE} already current; nothing to bump."; exit 0; fi
slug="${PACKAGE#@}"; slug="${slug//\//-}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/detect-heavy-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: actions/github-script@v9
id: script
with:
script: |
script: | #js
const ev = context.eventName;
// Manual dispatch is an explicit request — run unconditionally.
if (ev === 'workflow_dispatch') {
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/e2e-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- uses: actions/github-script@v9
id: classify
with:
script: |
script: | #js
const ev = context.eventName;
// Manual dispatch is an explicit request — run unconditionally.
if (ev === 'workflow_dispatch') {
Expand Down Expand Up @@ -262,7 +262,7 @@ jobs:

- name: Build .ipa
working-directory: apps/e2e/ios
run: |
run: | #shell
xcodebuild archive \
-workspace corereactnativee2e.xcworkspace \
-scheme corereactnativee2e \
Expand Down Expand Up @@ -304,7 +304,7 @@ jobs:
env:
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY_TESTS }}
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME_TESTS }}
run: |
run: | #shell
RESPONSE=$(curl --show-error -sS -w '\n%{http_code}' \
-u "$BROWSERSTACK_USERNAME:$BROWSERSTACK_ACCESS_KEY" \
-X POST "https://api-cloud.browserstack.com/app-automate/upload" \
Expand Down Expand Up @@ -343,7 +343,7 @@ jobs:
env:
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY_TESTS }}
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME_TESTS }}
run: |
run: | #shell
RESPONSE=$(curl --show-error -sS -w '\n%{http_code}' \
-u "$BROWSERSTACK_USERNAME:$BROWSERSTACK_ACCESS_KEY" \
-X POST "https://api-cloud.browserstack.com/app-automate/upload" \
Expand Down Expand Up @@ -388,7 +388,7 @@ jobs:
env:
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY_TESTS }}
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME_TESTS }}
run: |
run: | #shell
ZIP_NAME="flows.zip"

zip -r "$ZIP_NAME" maestro/e2e.yaml maestro/fgs-restart.yaml maestro/rootkey-persistence.yaml
Expand Down Expand Up @@ -509,7 +509,7 @@ jobs:
UPLOAD_SUITE: ${{ needs.upload-test-suite.result }}
TEST_ANDROID: ${{ needs.test-android.result }}
TEST_IOS: ${{ needs.test-ios.result }}
run: |
run: | #shell
set -euo pipefail
echo "changes=$CHANGES run_e2e=$RUN_E2E"
echo "build: android=$BUILD_ANDROID ios=$BUILD_IOS"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-trusted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
- name: Remove safe-to-test label on new commits
env:
GH_TOKEN: ${{ github.token }}
run: |
run: | #shell
gh pr edit "${{ github.event.pull_request.number }}" \
--repo "${{ github.repository }}" \
--remove-label safe-to-test || true
2 changes: 1 addition & 1 deletion .github/workflows/pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
# Title-only — never checks out PR code, so pull_request_target is safe here.
- uses: actions/github-script@v9
with:
script: |
script: | #js
const title = context.payload.pull_request.title;
const body = context.payload.pull_request.body || '';
const m = title.match(/^(\w+)(\(([\w$.\-*/ ]+)\))?(!)?:/);
Expand Down