From 944c7fbcebcf5e75d107f7ce357c72e6f34e1958 Mon Sep 17 00:00:00 2001 From: suweinberg Date: Mon, 14 Oct 2024 12:23:41 -0700 Subject: [PATCH 1/2] update github script --- .github/workflows/snapshotCommit.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/snapshotCommit.yml b/.github/workflows/snapshotCommit.yml index 6691ff78e5..4a39de5dad 100644 --- a/.github/workflows/snapshotCommit.yml +++ b/.github/workflows/snapshotCommit.yml @@ -21,7 +21,7 @@ jobs: repository: ${{ github.event.workflow_run.head_repository.full_name }} - name: Download Artifacts - uses: actions/github-script@v3.1.0 + uses: actions/github-script@v7 with: script: | const fs = require('fs'); @@ -66,7 +66,7 @@ jobs: - name: Reset Label if: github.event.workflow_run.event == 'pull_request' - uses: actions/github-script@v3.1.0 + uses: actions/github-script@v7 with: # The workflow_run that comes along with the event drops the PR number for some reason # so we have to pass the PR number from the original workflow as an artifact From 1459bd7cbf950c83cfcc55482e94ba69a0a03595 Mon Sep 17 00:00:00 2001 From: suweinberg Date: Tue, 15 Oct 2024 08:56:45 -0700 Subject: [PATCH 2/2] remove imgur from workflow --- .github/workflows/snapshotCompare.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/snapshotCompare.yml b/.github/workflows/snapshotCompare.yml index f8af7d217e..09296d2b29 100644 --- a/.github/workflows/snapshotCompare.yml +++ b/.github/workflows/snapshotCompare.yml @@ -64,9 +64,9 @@ jobs: run: | npm run test:func -- --testPathPattern "${{ matrix.testPathPattern }}" - - name: Collect Diffs and Upload to Imgur - run: | - ./scripts/snapshot-tests/collect-diffs.sh + # - name: Collect Diffs and Upload to Imgur + # run: | + # ./scripts/snapshot-tests/collect-diffs.sh compareSnapshotsV2: name: Compare V2 @@ -101,6 +101,6 @@ jobs: run: | CONFIG_PATH=${{ matrix.testConfig }} npm run test:func:snapshots - - name: Collect Diffs and Upload to Imgur - run: | - ./scripts/snapshot-tests/collect-diffs-v2.sh + # - name: Collect Diffs and Upload to Imgur + # run: | + # ./scripts/snapshot-tests/collect-diffs-v2.sh