diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d15c975..ed23a41 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,7 +1,14 @@ version: 2 updates: - package-ecosystem: "github-actions" - directory: "/" + # The composite actions' own `uses:` lines are not under "/". + directories: + - "/" + - "/composer-auth" + - "/install-wordpress" + - "/setup" + - "/setup-ddev" + - "/ssh-agent" schedule: interval: "weekly" groups: diff --git a/.github/workflows/vulnerability-scan.yml b/.github/workflows/vulnerability-scan.yml index 497720f..ba04fb9 100644 --- a/.github/workflows/vulnerability-scan.yml +++ b/.github/workflows/vulnerability-scan.yml @@ -126,7 +126,7 @@ jobs: - name: Setup PHP if: steps.tier.outputs.should_scan == 'true' - uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0 + uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # v2.40.0 with: php-version: ${{ env.PHP_VERSION }} tools: composer:2.9.8 diff --git a/composer-auth/action.yml b/composer-auth/action.yml index 1afa8df..660c9bc 100644 --- a/composer-auth/action.yml +++ b/composer-auth/action.yml @@ -48,7 +48,7 @@ runs: if: inputs.composer_bot_private_key != '' id: composer-bot continue-on-error: true - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 + uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0 with: client-id: ${{ inputs.composer_bot_client_id }} private-key: ${{ inputs.composer_bot_private_key }} diff --git a/install-wordpress/action.yml b/install-wordpress/action.yml index 102917d..284c34a 100644 --- a/install-wordpress/action.yml +++ b/install-wordpress/action.yml @@ -23,7 +23,7 @@ runs: steps: - name: Start Redis if: ${{ inputs.redis == 'true' }} - uses: shogo82148/actions-setup-redis@2f3253b148c73d7a0682eae73e862b777a4fa74e # v1.49.0 + uses: shogo82148/actions-setup-redis@d566e806806d1bac2b414538d57b2b7f721e1d83 # v1.60.0 - name: Start MySQL service shell: bash diff --git a/setup/action.yml b/setup/action.yml index 7f6743a..278ca4c 100644 --- a/setup/action.yml +++ b/setup/action.yml @@ -92,7 +92,7 @@ runs: fi - name: Setup Node - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 # No `cache:` on purpose: the "Node modules cache" step below caches # **/node_modules directly, and when that hits, install is a no-op. with: @@ -137,7 +137,7 @@ runs: echo "PHP_VERSION=$(cat ./composer.json | jq -r '.config.platform.php')" >> "$GITHUB_ENV" - name: Setup PHP - uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0 + uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # v2.40.0 with: php-version: ${{ env.PHP_VERSION }} # Pin Composer to a release that includes the fix for GHSA-f9f8-rm49-7jv2 @@ -192,7 +192,7 @@ runs: # one hits — see composer_download_cache. - name: Composer vendor cache id: vendor-cache - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: vendor key: ${{ runner.os }}-vendor-php${{ env.PHP_VERSION }}-${{ inputs.composer_dev == 'false' && 'nodev' || 'dev' }}-${{ env.COMPOSER_LOCK_HASH }} @@ -208,7 +208,7 @@ runs: # its save, which is correct: nothing was downloaded. - name: Composer download cache if: inputs.composer_download_cache == 'always' || steps.vendor-cache.outputs.cache-hit != 'true' - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-php${{ env.PHP_VERSION }}-${{ env.COMPOSER_LOCK_HASH }} @@ -217,7 +217,7 @@ runs: - name: Node modules cache if: inputs.node_modules_cache != 'skip' - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: '**/node_modules' key: ${{ env.NODE_MODULES_CACHE_KEY }}