diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..7ddd384 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,22 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + open-pull-requests-limit: 10 + groups: + actions-minor-patch: + patterns: + - "*" + update-types: + - "minor" + - "patch" + actions-major: + patterns: + - "*" + update-types: + - "major" + cooldown: + default-days: 7 diff --git a/.github/workflows/reusable-build-distributable.yml b/.github/workflows/reusable-build-distributable.yml index 2b67338..af70f91 100644 --- a/.github/workflows/reusable-build-distributable.yml +++ b/.github/workflows/reusable-build-distributable.yml @@ -26,7 +26,7 @@ jobs: run: node --version - name: Setup PHP - uses: shivammathur/setup-php@v2 + uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # 2.37.1 with: php-version: '8.3' tools: composer diff --git a/.github/workflows/reusable-lint-php.yml b/.github/workflows/reusable-lint-php.yml index 60135c2..256fd6d 100644 --- a/.github/workflows/reusable-lint-php.yml +++ b/.github/workflows/reusable-lint-php.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v4 - name: Setup PHP - uses: shivammathur/setup-php@v2 + uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # 2.37.1 with: php-version: ${{ inputs.php-version }} tools: composer diff --git a/.github/workflows/reusable-release-wporg.yml b/.github/workflows/reusable-release-wporg.yml index c2a476e..3827aca 100644 --- a/.github/workflows/reusable-release-wporg.yml +++ b/.github/workflows/reusable-release-wporg.yml @@ -38,7 +38,7 @@ jobs: run: node --version - name: Setup PHP - uses: shivammathur/setup-php@v2 + uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # 2.37.1 with: php-version: '8.3' tools: composer diff --git a/.github/workflows/reusable-release.yml b/.github/workflows/reusable-release.yml index 6d1f0ca..ffd1f8a 100644 --- a/.github/workflows/reusable-release.yml +++ b/.github/workflows/reusable-release.yml @@ -30,7 +30,7 @@ jobs: cache: 'npm' - name: Setup PHP - uses: shivammathur/setup-php@v2 + uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # 2.37.1 with: php-version: '8.3' tools: composer diff --git a/.github/workflows/reusable-test-php.yml b/.github/workflows/reusable-test-php.yml index 2d7184a..2b2c866 100644 --- a/.github/workflows/reusable-test-php.yml +++ b/.github/workflows/reusable-test-php.yml @@ -42,7 +42,7 @@ jobs: uses: actions/checkout@v4 - name: Setup PHP - uses: shivammathur/setup-php@v2 + uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # 2.37.1 with: php-version: ${{ inputs.php-version }} tools: composer @@ -65,7 +65,7 @@ jobs: - name: Upload coverage to Codecov if: ${{ env.CODECOV_TOKEN != '' }} - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0 with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml