diff --git a/.github/workflows/asset-size-check.yml b/.github/workflows/asset-size-check.yml index 24802b891..89a52c0f0 100644 --- a/.github/workflows/asset-size-check.yml +++ b/.github/workflows/asset-size-check.yml @@ -17,15 +17,15 @@ jobs: timeout-minutes: 15 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Use desired version of NodeJS - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: '16' cache: 'npm' - - uses: preactjs/compressed-size-action@v2 + - uses: preactjs/compressed-size-action@v3 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" install-script: "npm install --legacy-peer-deps" diff --git a/.github/workflows/build-a-zip.yml b/.github/workflows/build-a-zip.yml index e4cda79e6..6b487daba 100644 --- a/.github/workflows/build-a-zip.yml +++ b/.github/workflows/build-a-zip.yml @@ -37,10 +37,10 @@ jobs: branch_name: ${{ steps.get_current_branch.outputs.branch_name }} steps: - name: "Checkout" - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Use desired version of NodeJS - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: '20' cache: 'npm' @@ -65,7 +65,7 @@ jobs: mv ${{ env.ZIP_NAME }} ${{ steps.get_current_branch.outputs.branch_name }}/ - name: Upload a zip to server - uses: burnett01/rsync-deployments@4.1 + uses: burnett01/rsync-deployments@5.2 with: # switches: -avzr --delete --delete-excluded --exclude-from=".distignore" --include="" --filter="" switches: -avzr @@ -129,7 +129,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Checkout" - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Extract current branch name id: get_current_branch @@ -139,7 +139,7 @@ jobs: - name: Execute a delete command using password if: ${{ steps.get_current_branch.outputs.branch_name != '' }} - uses: appleboy/ssh-action@v1.0.3 + uses: appleboy/ssh-action@v1.2.5 with: host: ${{ secrets.SSH_HOST }} port: ${{ secrets.SSH_PORT }} diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index c3594d082..7f5ccf9e4 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -13,10 +13,10 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Use Node.js 20 - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: '20' cache: 'npm' @@ -39,7 +39,7 @@ jobs: fi - name: Rsync Deployment - uses: burnett01/rsync-deployments@4.1 + uses: burnett01/rsync-deployments@5.2 with: # switches: -avzr --delete switches: -avzr @@ -50,7 +50,7 @@ jobs: remote_key: ${{ secrets.SSH_KEY }} - name: Rsync Drive Deployment - uses: burnett01/rsync-deployments@4.1 + uses: burnett01/rsync-deployments@5.2 if: env.ENVIRONMENT == 'RELEASE_CANDIDATE' with: # switches: -avzr --delete diff --git a/.github/workflows/code-analysis.yml b/.github/workflows/code-analysis.yml index 0594af6ec..ffd0abbb1 100644 --- a/.github/workflows/code-analysis.yml +++ b/.github/workflows/code-analysis.yml @@ -33,7 +33,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -46,7 +46,7 @@ jobs: id: composer-cache run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - - uses: actions/cache@v4 + - uses: actions/cache@v6 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -80,7 +80,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -93,7 +93,7 @@ jobs: id: composer-cache run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - - uses: actions/cache@v4 + - uses: actions/cache@v6 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -121,10 +121,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Use desired version of NodeJS - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: '20' cache: 'npm' @@ -142,10 +142,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Use desired version of NodeJS - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: '20' cache: 'npm' diff --git a/.github/workflows/code-reviewer.yml b/.github/workflows/code-reviewer.yml index 423bcb247..8a12dab09 100644 --- a/.github/workflows/code-reviewer.yml +++ b/.github/workflows/code-reviewer.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: WRITE PR SUMMARY uses: brainstormforce/pull-request-reviewer@v1.0.0 @@ -33,7 +33,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: AI CODE REVIEW uses: brainstormforce/pull-request-reviewer@v1.0.0 diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 4d715f163..d391e7440 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -8,10 +8,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: '18' cache: 'npm' @@ -37,7 +37,7 @@ jobs: - name: Upload test results if: failure() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: e2e-test-results path: | diff --git a/.github/workflows/fix-build-conflict.yml b/.github/workflows/fix-build-conflict.yml index f20c54305..5e4a1d29b 100644 --- a/.github/workflows/fix-build-conflict.yml +++ b/.github/workflows/fix-build-conflict.yml @@ -14,10 +14,10 @@ jobs: name: 'Run npm build commands' steps: - name: 'Checkout' - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Use desired version of NodeJS - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: '20' cache: 'npm' @@ -50,7 +50,7 @@ jobs: id: composer-cache run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - - uses: actions/cache@v4 + - uses: actions/cache@v6 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -62,7 +62,7 @@ jobs: - name: Create Pull Request id: cpr - uses: peter-evans/create-pull-request@v7 + uses: peter-evans/create-pull-request@v8 with: add-paths: | *.js diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 967b27c69..8e87dd53f 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up PHP uses: shivammathur/setup-php@v2 @@ -24,7 +24,7 @@ jobs: id: composer-cache run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - - uses: actions/cache@v4 + - uses: actions/cache@v6 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/.github/workflows/push-asset-readme-update.yml b/.github/workflows/push-asset-readme-update.yml index 9d2e42b17..6949e3633 100644 --- a/.github/workflows/push-asset-readme-update.yml +++ b/.github/workflows/push-asset-readme-update.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest environment: UAGB_WP_ORG_PROD steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: WordPress.org plugin asset/readme update uses: 10up/action-wordpress-plugin-asset-update@stable env: diff --git a/.github/workflows/push-to-deploy.yml b/.github/workflows/push-to-deploy.yml index bedfad8b3..f22bf428e 100644 --- a/.github/workflows/push-to-deploy.yml +++ b/.github/workflows/push-to-deploy.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest environment: UAGB_WP_ORG_PROD steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: WordPress Plugin Deploy uses: 10up/action-wordpress-plugin-deploy@stable env: diff --git a/.github/workflows/release-tag-draft.yml b/.github/workflows/release-tag-draft.yml index a6cc08e50..07df0c72b 100644 --- a/.github/workflows/release-tag-draft.yml +++ b/.github/workflows/release-tag-draft.yml @@ -16,7 +16,7 @@ jobs: current_version: ${{ steps.get_version.outputs.current_version }} steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: ref: master @@ -35,7 +35,7 @@ jobs: run: bash ./bin/build-zip.sh - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: uag-plugin path: ./artifact/ultimate-addons-for-gutenberg.zip @@ -52,13 +52,13 @@ jobs: run: echo "version=$(echo $VERSION | cut -d / -f 3 | sed 's/-rc./ RC/' )" >> $GITHUB_OUTPUT - name: Download Plugin Zip Artifact - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: uag-plugin - name: Create Release Draft id: create_release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/sync-to-wp-spectra.yml b/.github/workflows/sync-to-wp-spectra.yml index 053c66002..c6d776795 100644 --- a/.github/workflows/sync-to-wp-spectra.yml +++ b/.github/workflows/sync-to-wp-spectra.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Sync via GitHub API - uses: actions/github-script@v7 + uses: actions/github-script@v9 with: github-token: ${{ secrets.WP_SPECTRA_SYNC_TOKEN }} script: | diff --git a/.github/workflows/sync-wiki-action.yml b/.github/workflows/sync-wiki-action.yml index 33552d356..febcda1d9 100644 --- a/.github/workflows/sync-wiki-action.yml +++ b/.github/workflows/sync-wiki-action.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/update-version-and-build.yml b/.github/workflows/update-version-and-build.yml index 5716a0bbc..05d0e8d41 100644 --- a/.github/workflows/update-version-and-build.yml +++ b/.github/workflows/update-version-and-build.yml @@ -31,7 +31,7 @@ jobs: sudo mv wp-cli.phar /usr/local/bin/wp - name: "Checkout" - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: ref: next-release @@ -56,7 +56,7 @@ jobs: cat <<< $(jq --tab --arg version "${VERSION}" '.version = $version' package-lock.json) > package-lock.json - name: Use desired version of NodeJS - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: '20' cache: 'npm' @@ -78,7 +78,7 @@ jobs: - name: Create Pull Request id: cpr - uses: peter-evans/create-pull-request@v7 + uses: peter-evans/create-pull-request@v8 with: commit-message: Version & build files updated base: next-release