diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..709091a --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +# The workflows' actions are pinned to a commit. Once a month Dependabot +# moves the pins in one grouped pull request and keeps the version comment +# beside each. Package security updates come from the organization's +# Dependabot settings. +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: { interval: monthly } + open-pull-requests-limit: 1 + groups: + actions: { patterns: ["*"] } diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e8ca3b1..76084b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,8 +14,8 @@ jobs: matrix: php: ["7.4", "8.0", "8.1", "8.2", "8.3", "8.4"] steps: - - uses: actions/checkout@v4 - - uses: shivammathur/setup-php@v2 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + - uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # v2 with: php-version: ${{ matrix.php }} coverage: none @@ -26,8 +26,8 @@ jobs: phpcs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: shivammathur/setup-php@v2 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + - uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # v2 with: php-version: "8.3" coverage: none @@ -43,8 +43,8 @@ jobs: js: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 with: node-version: 22 - run: node --check assets/js/hibira.js @@ -52,11 +52,11 @@ jobs: plugin-check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 - name: build the plugin folder run: | mkdir -p dist git archive --format=tar --prefix=hibira/ HEAD | tar -x -C dist - - uses: wordpress/plugin-check-action@v1 + - uses: wordpress/plugin-check-action@10857da14b6c2246d15402b3e69f777edcf8c12e # v1 with: build-dir: dist/hibira diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index da2265b..e27a0e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: zip: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 - name: Tag matches the plugin version run: | version="$(sed -n 's/^ \* Version: *//p' hibira.php)" diff --git a/.github/workflows/wporg-deploy.yml b/.github/workflows/wporg-deploy.yml index 603ff0a..b7b43f9 100644 --- a/.github/workflows/wporg-deploy.yml +++ b/.github/workflows/wporg-deploy.yml @@ -33,7 +33,7 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 - name: Versions agree id: version