diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 69b1f32..d44a169 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,12 +9,13 @@ 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 }}" + RECORD_REPLAY_METADATA_SOURCE_COMMIT_TITLE: "🍍: ${{ github.event.head_commit.author.name }}" 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