diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 71e59d8a2fe..8100e5f9ea2 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -93,7 +93,7 @@ runs: - name: Restore pnpm install cache if: ${{ inputs.pnpm-restore-cache == 'true' }} - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.STORE_PATH }} key: ${{ env.PNPM_INSTALL_CACHE_KEY }} diff --git a/.github/workflows/activity-notifications.yml b/.github/workflows/activity-notifications.yml index c425fb30a08..c87fef11656 100644 --- a/.github/workflows/activity-notifications.yml +++ b/.github/workflows/activity-notifications.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Setup uses: ./.github/actions/setup - name: Popular Issues to Slack diff --git a/.github/workflows/audit-dependencies.yml b/.github/workflows/audit-dependencies.yml index 8143baf169c..f28469fe179 100644 --- a/.github/workflows/audit-dependencies.yml +++ b/.github/workflows/audit-dependencies.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Setup uses: ./.github/actions/setup diff --git a/.github/workflows/dispatch-event.yml b/.github/workflows/dispatch-event.yml index e2b6acb1124..376f19db696 100644 --- a/.github/workflows/dispatch-event.yml +++ b/.github/workflows/dispatch-event.yml @@ -17,11 +17,11 @@ jobs: name: Repository dispatch runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Dispatch event if: ${{ github.event_name == 'workflow_dispatch' }} - uses: peter-evans/repository-dispatch@v3 + uses: peter-evans/repository-dispatch@v4 with: token: ${{ secrets.PAYLOAD_REPOSITORY_DISPATCH }} repository: ${{ secrets.REMOTE_REPOSITORY }} @@ -31,7 +31,7 @@ jobs: - name: Dispatch event if: ${{ github.event_name == 'workflow_dispatch' }} - uses: peter-evans/repository-dispatch@v3 + uses: peter-evans/repository-dispatch@v4 with: token: ${{ secrets.PAYLOAD_REPOSITORY_DISPATCH }} repository: payloadcms/website diff --git a/.github/workflows/label-on-change.yml b/.github/workflows/label-on-change.yml index 1075d468593..5dec55d760f 100644 --- a/.github/workflows/label-on-change.yml +++ b/.github/workflows/label-on-change.yml @@ -20,7 +20,7 @@ jobs: if: github.event.action == 'labeled' && startsWith(github.event.label.name, 'status:') steps: - name: Ensure only one status label - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -55,7 +55,7 @@ jobs: if: github.event.action == 'closed' steps: - name: Remove all labels on issue close - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/lock-issues.yml b/.github/workflows/lock-issues.yml index 5546a3b252f..ee2f7e35741 100644 --- a/.github/workflows/lock-issues.yml +++ b/.github/workflows/lock-issues.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Lock issues - uses: dessant/lock-threads@v5 + uses: dessant/lock-threads@v6 with: process-only: 'issues' issue-inactive-days: '7' diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4ea3588407d..b3b4adaa314 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,7 +30,7 @@ jobs: - name: tune linux network run: sudo ethtool -K eth0 tx off rx off - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - uses: dorny/paths-filter@v3 id: filter with: @@ -59,7 +59,7 @@ jobs: lint: runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: fetch-depth: 0 @@ -78,7 +78,7 @@ jobs: runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Node setup uses: ./.github/actions/setup @@ -88,7 +88,7 @@ jobs: DO_NOT_TRACK: 1 # Disable Turbopack telemetry - name: Cache build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ./* key: ${{ github.sha }} @@ -98,7 +98,7 @@ jobs: needs: [changes, build] if: needs.changes.outputs.needs_tests == 'true' steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Node setup uses: ./.github/actions/setup @@ -108,7 +108,7 @@ jobs: cache-propagation-delay: 120 # https://github.com/actions/cache/issues/1710 - name: Restore build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ./* key: ${{ github.sha }} @@ -124,7 +124,7 @@ jobs: needs: [changes, build] if: needs.changes.outputs.needs_tests == 'true' steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Node setup uses: ./.github/actions/setup @@ -134,7 +134,7 @@ jobs: cache-propagation-delay: 120 # https://github.com/actions/cache/issues/1710 - name: Restore build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ./* key: ${{ github.sha }} @@ -152,7 +152,7 @@ jobs: outputs: matrix: ${{ steps.generate.outputs.matrix }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: sparse-checkout: | .github/workflows @@ -193,7 +193,7 @@ jobs: options: --health-cmd "redis-cli ping" --health-timeout 30s --health-retries 3 steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Node setup uses: ./.github/actions/setup @@ -203,7 +203,7 @@ jobs: cache-propagation-delay: 120 # https://github.com/actions/cache/issues/1710 - name: Restore build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ./* key: ${{ github.sha }} @@ -238,7 +238,7 @@ jobs: outputs: matrix: ${{ steps.generate.outputs.matrix }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: sparse-checkout: | .github/workflows @@ -261,7 +261,7 @@ jobs: needs: [changes, build] if: needs.changes.outputs.needs_tests == 'true' steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Node setup uses: ./.github/actions/setup @@ -271,7 +271,7 @@ jobs: cache-propagation-delay: 120 # https://github.com/actions/cache/issues/1710 - name: Restore build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ./* key: ${{ github.sha }} @@ -281,7 +281,7 @@ jobs: run: pnpm prepare-run-test-against-prod:ci - name: Cache prepared test environment - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: path: | test/packed @@ -301,7 +301,7 @@ jobs: env: SUITE_NAME: ${{ matrix.suite }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Node setup uses: ./.github/actions/setup @@ -311,14 +311,14 @@ jobs: cache-propagation-delay: 120 # https://github.com/actions/cache/issues/1710 - name: Restore build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ./* key: ${{ github.sha }} fail-on-cache-miss: true - name: Restore prepared test environment - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: | test/packed @@ -347,7 +347,7 @@ jobs: - name: Cache Playwright Browsers for Playwright's Version id: cache-playwright-browsers - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.cache/ms-playwright key: playwright-browsers-${{ env.PLAYWRIGHT_VERSION }} @@ -393,7 +393,7 @@ jobs: PLAYWRIGHT_JSON_OUTPUT_NAME: results_${{ matrix.suite }}_${{ matrix.shard }}.json NEXT_TELEMETRY_DISABLED: 1 - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v6 if: always() with: name: test-results-${{ matrix.suite }}_${{ matrix.shard }} @@ -493,7 +493,7 @@ jobs: env: SUITE_NAME: ${{ matrix.suite }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Node setup uses: ./.github/actions/setup @@ -503,7 +503,7 @@ jobs: cache-propagation-delay: 120 # https://github.com/actions/cache/issues/1710 - name: Restore build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ./* key: ${{ github.sha }} @@ -522,7 +522,7 @@ jobs: - name: Cache Playwright Browsers for Playwright's Version id: cache-playwright-browsers - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.cache/ms-playwright key: playwright-browsers-${{ env.PLAYWRIGHT_VERSION }} @@ -541,7 +541,7 @@ jobs: PLAYWRIGHT_JSON_OUTPUT_NAME: results_${{ matrix.suite }}.json NEXT_TELEMETRY_DISABLED: 1 - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v6 if: always() with: name: test-results-turbo${{ matrix.suite }} @@ -589,7 +589,7 @@ jobs: # database: postgres steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Node setup uses: ./.github/actions/setup @@ -599,7 +599,7 @@ jobs: cache-propagation-delay: 120 # https://github.com/actions/cache/issues/1710 - name: Restore build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ./* key: ${{ github.sha }} @@ -629,7 +629,7 @@ jobs: - name: Cache Playwright Browsers for Playwright's Version id: cache-playwright-browsers - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.cache/ms-playwright key: playwright-browsers-${{ env.PLAYWRIGHT_VERSION }} @@ -664,7 +664,7 @@ jobs: needs: [changes, build] if: needs.changes.outputs.needs_tests == 'true' steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Node setup uses: ./.github/actions/setup @@ -674,7 +674,7 @@ jobs: cache-propagation-delay: 120 # https://github.com/actions/cache/issues/1710 - name: Restore build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ./* key: ${{ github.sha }} @@ -727,7 +727,7 @@ jobs: actions: read # for fetching base branch bundle stats pull-requests: write # for comments steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Node setup uses: ./.github/actions/setup @@ -737,7 +737,7 @@ jobs: cache-propagation-delay: 120 # https://github.com/actions/cache/issues/1710 - name: Restore build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ./* key: ${{ github.sha }} diff --git a/.github/workflows/post-release-templates.yml b/.github/workflows/post-release-templates.yml index 306948eb76d..b5930bb3617 100644 --- a/.github/workflows/post-release-templates.yml +++ b/.github/workflows/post-release-templates.yml @@ -17,7 +17,7 @@ jobs: release_tag: ${{ steps.determine_tag.outputs.release_tag }} steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: fetch-depth: 0 sparse-checkout: .github/workflows @@ -50,7 +50,7 @@ jobs: pull-requests: write steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Setup uses: ./.github/actions/setup @@ -96,7 +96,7 @@ jobs: echo "branch=$BRANCH_NAME" >> "$GITHUB_OUTPUT" - name: Create pull request - uses: peter-evans/create-pull-request@v7 + uses: peter-evans/create-pull-request@v8 with: token: ${{ secrets.GH_TOKEN_POST_RELEASE_TEMPLATES }} labels: 'area: templates' diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index 48192b09f07..124fe7201cb 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-24.04 if: ${{ github.event_name != 'workflow_dispatch' }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - uses: ./.github/actions/release-commenter continue-on-error: true env: @@ -44,7 +44,7 @@ jobs: if: ${{ github.event_name != 'workflow_dispatch' }} steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Announce Release - Releases Channel uses: SethCohen/github-releases-to-discord@v1.19.0 diff --git a/.github/workflows/publish-prerelease.yml b/.github/workflows/publish-prerelease.yml index 0a23d81ada3..c70766239b9 100644 --- a/.github/workflows/publish-prerelease.yml +++ b/.github/workflows/publish-prerelease.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Setup uses: ./.github/actions/setup - name: Load npm token diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index d23d6b88691..95b8c4cae11 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -20,7 +20,7 @@ jobs: issues: write pull-requests: write steps: - - uses: actions/stale@v9 + - uses: actions/stale@v10 id: stale with: debug-only: ${{ inputs.dry-run || false }} diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml index fb5e2ec1b1b..ee2780e80fa 100644 --- a/.github/workflows/triage.yml +++ b/.github/workflows/triage.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-24.04 steps: - name: View context attributes - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: console.log({ context }) @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Tag with 'created-by' - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -90,7 +90,7 @@ jobs: if: github.event_name == 'issues' runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.base.ref }} token: ${{ secrets.GITHUB_TOKEN }}