diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 7ecaa0c..06c0bc2 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -36,9 +36,10 @@ jobs: # Establish the main-branch baseline that Trunk Flaky Tests compares # PR runs against. Runs even if tests fail so flakes/failures are visible. if: "!cancelled()" - uses: trunk-io/analytics-uploader@v2 + uses: trunk-io/analytics-uploader@main with: junit-paths: ${{ github.workspace }}/target/nextest/ci/*junit.xml org-slug: trunk - token: ${{ secrets.TRUNK_PROD_ORG_API_TOKEN }} + token: ${{ secrets.TRUNK_PROD_V2_TEST_UPLOAD_TOKEN }} + test-collection-id: HilUwBm9 continue-on-error: true diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 21c6544..a950ac9 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -26,11 +26,12 @@ jobs: - name: Upload test results # Run this step even if the test step ahead fails if: "!cancelled()" - uses: trunk-io/analytics-uploader@v2 + uses: trunk-io/analytics-uploader@main with: junit-paths: ${{ github.workspace }}/target/nextest/ci/*junit.xml org-slug: trunk - token: ${{ secrets.TRUNK_PROD_ORG_API_TOKEN }} + token: ${{ secrets.TRUNK_PROD_V2_TEST_UPLOAD_TOKEN }} + test-collection-id: HilUwBm9 continue-on-error: true trunk_check_runner: