From ce2ed88e30fe45c58291dfad8eccc7ff7351ef03 Mon Sep 17 00:00:00 2001 From: Josh Morrow Date: Tue, 2 Jul 2024 11:44:08 -0700 Subject: [PATCH] Try this --- .github/workflows/main.yml | 4 ++-- src/sync.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 69b1f32..f0dcddd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,12 +9,12 @@ jobs: runs-on: macos-14 environment: "QA Wolf Test Environment" env: - BRANCH_ID: ${{ secrets.BRANCH_ID }} + BRANCH_ID: "TEST: ${{ secrets.BRANCH_ID }}" COOKIES_ENCRYPTION_KEY: ${{ secrets.COOKIES_ENCRYPTION_KEY }} QAWOLF_API_KEY: ${{ secrets.QAWOLF_API_KEY }} QAWOLF_ENVIRONMENT_ID: ${{ secrets.QAWOLF_ENVIRONMENT_ID }} QAWOLF_TEAM_ID: ${{ secrets.QAWOLF_TEAM_ID }} - RECORD_REPLAY_METADATA_TEST_RUN_TITLE: "QAWolf Mac ARM" + REPLAY_METADATA_TEST_RUN_TITLE: "QAWolf Mac ARM ${{ github.ref }}" REPLAY_API_KEY: ${{ secrets.REPLAY_API_KEY }} steps: - uses: actions/checkout@v4 diff --git a/src/sync.ts b/src/sync.ts index 45e2221..1582d53 100644 --- a/src/sync.ts +++ b/src/sync.ts @@ -17,6 +17,7 @@ export async function downloadAndSaveQAWolfTests() { return tests.workflowsOnBranch .filter((t) => t.workflow.status === "active") + .slice(0, 1) .map((test) => { const helperCode = test.stepOnBranchInWorkflowOnBranch