diff --git a/.github/workflows/__greetings.yml b/.github/workflows/__greetings.yml index 9086816..4696c96 100644 --- a/.github/workflows/__greetings.yml +++ b/.github/workflows/__greetings.yml @@ -10,7 +10,7 @@ permissions: {} jobs: greetings: - uses: hoverkraft-tech/ci-github-common/.github/workflows/greetings.yml@5fbb531db839a26ebcc35c4946be279f945f7633 # 1.0.0 + uses: hoverkraft-tech/ci-github-common/.github/workflows/greetings.yml@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0 permissions: contents: read issues: write diff --git a/.github/workflows/__main-ci.yml b/.github/workflows/__main-ci.yml index d657bb3..23c2043 100644 --- a/.github/workflows/__main-ci.yml +++ b/.github/workflows/__main-ci.yml @@ -27,7 +27,7 @@ jobs: release: needs: ci if: github.event_name != 'schedule' - uses: hoverkraft-tech/ci-github-publish/.github/workflows/release-actions.yml@b942fb00f3115ca70f98f45f2289cc9838eb9312 # 3.0.0 + uses: hoverkraft-tech/ci-github-publish/.github/workflows/release-actions.yml@4193622a365c0ab0bcbd6645895fd2c3126b72ba # 3.0.2 permissions: contents: read with: diff --git a/.github/workflows/__need-fix-to-issue.yml b/.github/workflows/__need-fix-to-issue.yml index e91c899..a855f70 100644 --- a/.github/workflows/__need-fix-to-issue.yml +++ b/.github/workflows/__need-fix-to-issue.yml @@ -18,7 +18,7 @@ permissions: {} jobs: main: - uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@5fbb531db839a26ebcc35c4946be279f945f7633 # 1.0.0 + uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0 permissions: contents: read issues: write diff --git a/.github/workflows/__prepare-release.yml b/.github/workflows/__prepare-release.yml index 70c1f30..f199c71 100644 --- a/.github/workflows/__prepare-release.yml +++ b/.github/workflows/__prepare-release.yml @@ -10,7 +10,7 @@ permissions: {} jobs: release: - uses: hoverkraft-tech/ci-github-publish/.github/workflows/prepare-release.yml@f06e0e72a76bfca57c34d08d03e5c1914275fd4c # 2.0.0 + uses: hoverkraft-tech/ci-github-publish/.github/workflows/prepare-release.yml@4193622a365c0ab0bcbd6645895fd2c3126b72ba # 3.0.2 permissions: contents: read pull-requests: write diff --git a/.github/workflows/__release.yml b/.github/workflows/__release.yml index 0215296..73fef94 100644 --- a/.github/workflows/__release.yml +++ b/.github/workflows/__release.yml @@ -53,19 +53,20 @@ jobs: - name: Plan release id: plan-release - uses: hoverkraft-tech/ci-github-publish/actions/release/plan@f06e0e72a76bfca57c34d08d03e5c1914275fd4c # 2.0.0 + uses: hoverkraft-tech/ci-github-publish/actions/release/plan@4193622a365c0ab0bcbd6645895fd2c3126b72ba # 3.0.2 with: - target-sha: ${{ github.sha }} + target-ref: ${{ github.sha }} + force: ${{ github.event_name == 'workflow_dispatch' && inputs.force }} github-token: ${{ steps.generate-token.outputs.token }} - name: Create and publish release - if: (steps.plan-release.outputs.has-changes == 'true' || (github.event_name == 'workflow_dispatch' && inputs.force)) && steps.plan-release.outputs.tag != '' - uses: hoverkraft-tech/ci-github-publish/actions/release/create@f06e0e72a76bfca57c34d08d03e5c1914275fd4c # 2.0.0 + if: steps.plan-release.outputs.should-release == 'true' && steps.plan-release.outputs.tag != '' + uses: hoverkraft-tech/ci-github-publish/actions/release/create@4193622a365c0ab0bcbd6645895fd2c3126b72ba # 3.0.2 env: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} # zizmor: ignore[secrets-outside-env] repository secret is scoped to the release summary step with: tag: ${{ steps.plan-release.outputs.tag }} - target-sha: ${{ github.sha }} + target-ref: ${{ github.sha }} publish: "true" changelog-summary: | { diff --git a/.github/workflows/__renovate.yml b/.github/workflows/__renovate.yml index 3af229f..ea995ad 100644 --- a/.github/workflows/__renovate.yml +++ b/.github/workflows/__renovate.yml @@ -31,7 +31,7 @@ jobs: permission-workflows: write - name: Run Renovate - uses: renovatebot/github-action@1c0cf989c02653fba0efe7ca5772338860ca71dc # v46.3.12 + uses: renovatebot/github-action@266fef21329c44765ad42f9dea1f01f5d2d91084 # v46.3.13 with: token: ${{ steps.generate-token.outputs.token }} env: diff --git a/.github/workflows/__semantic-pull-request.yml b/.github/workflows/__semantic-pull-request.yml index 4112b1c..8bd4f95 100644 --- a/.github/workflows/__semantic-pull-request.yml +++ b/.github/workflows/__semantic-pull-request.yml @@ -14,4 +14,4 @@ jobs: main: permissions: contents: read - uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@90211d735aa0289702ddbd7eb95b218020ccadad # 2.0.2 + uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0 diff --git a/.github/workflows/__shared-ci.yml b/.github/workflows/__shared-ci.yml index 315ada2..bb7ab99 100644 --- a/.github/workflows/__shared-ci.yml +++ b/.github/workflows/__shared-ci.yml @@ -4,7 +4,7 @@ on: permissions: {} jobs: linter: - uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@90211d735aa0289702ddbd7eb95b218020ccadad # 2.0.2 + uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0 permissions: contents: read statuses: write diff --git a/.github/workflows/__stale.yml b/.github/workflows/__stale.yml index e451316..75286d3 100644 --- a/.github/workflows/__stale.yml +++ b/.github/workflows/__stale.yml @@ -8,7 +8,7 @@ permissions: {} jobs: main: - uses: hoverkraft-tech/ci-github-common/.github/workflows/stale.yml@5fbb531db839a26ebcc35c4946be279f945f7633 # 1.0.0 + uses: hoverkraft-tech/ci-github-common/.github/workflows/stale.yml@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0 permissions: issues: write pull-requests: write diff --git a/.github/workflows/__test-action-lint.yml b/.github/workflows/__test-action-lint.yml index 58ea05b..da073a4 100644 --- a/.github/workflows/__test-action-lint.yml +++ b/.github/workflows/__test-action-lint.yml @@ -48,7 +48,7 @@ jobs: working-directory: .test-php-lint - name: Assert - Download the native lint artifact if: steps.lint.outputs.report-artifact-id != '' - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: artifact-ids: ${{ steps.lint.outputs.report-artifact-id }} path: downloaded-reports diff --git a/.github/workflows/__test-action-test.yml b/.github/workflows/__test-action-test.yml index 5db8b3a..770237b 100644 --- a/.github/workflows/__test-action-test.yml +++ b/.github/workflows/__test-action-test.yml @@ -79,7 +79,7 @@ jobs: coverage: ${{ matrix.coverage }} - name: Assert - Download the native report artifact if: steps.tests.outputs.report-artifact-id != '' - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: artifact-ids: ${{ steps.tests.outputs.report-artifact-id }} path: downloaded-reports diff --git a/.github/workflows/continuous-integration.md b/.github/workflows/continuous-integration.md index 9421a16..6f08f3d 100644 --- a/.github/workflows/continuous-integration.md +++ b/.github/workflows/continuous-integration.md @@ -228,7 +228,7 @@ on: permissions: {} jobs: continuous-integration: - uses: hoverkraft-tech/ci-github-php/.github/workflows/continuous-integration.yml@fb76668e10ca8ca0be801e1cf6333ae9cf4a2269 # 1.1.0 + uses: hoverkraft-tech/ci-github-php/.github/workflows/continuous-integration.yml@41b42b7c00ad20527f1f40fd8c7a85881e36ea6b # chore/update-actions-stable permissions: contents: read id-token: write diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index df42499..d1a28a9 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -101,7 +101,7 @@ # reports: # needs: [lint, test] # if: always() -# uses: hoverkraft-tech/ci-github-common/.github/workflows/ci-reports.yml@90211d735aa0289702ddbd7eb95b218020ccadad # 2.0.2 +# uses: hoverkraft-tech/ci-github-common/.github/workflows/ci-reports.yml@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0 # permissions: # contents: read # pull-requests: write diff --git a/.github/workflows/documentation.md b/.github/workflows/documentation.md index c48a4a2..26a5723 100644 --- a/.github/workflows/documentation.md +++ b/.github/workflows/documentation.md @@ -38,7 +38,7 @@ on: permissions: {} jobs: documentation: - uses: hoverkraft-tech/ci-github-php/.github/workflows/documentation.yml@fb76668e10ca8ca0be801e1cf6333ae9cf4a2269 # 1.1.0 + uses: hoverkraft-tech/ci-github-php/.github/workflows/documentation.yml@41b42b7c00ad20527f1f40fd8c7a85881e36ea6b # chore/update-actions-stable permissions: contents: read with: diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index f47496f..70898ec 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -35,7 +35,7 @@ jobs: with: persist-credentials: false - id: directory - uses: hoverkraft-tech/ci-github-common/actions/working-directory@5fbb531db839a26ebcc35c4946be279f945f7633 # 1.0.0 + uses: hoverkraft-tech/ci-github-common/actions/working-directory@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0 with: working-directory: ${{ inputs.working-directory }} - name: Generate API documentation diff --git a/.github/workflows/prepare-package-release.md b/.github/workflows/prepare-package-release.md index f525513..6ba3bdc 100644 --- a/.github/workflows/prepare-package-release.md +++ b/.github/workflows/prepare-package-release.md @@ -36,7 +36,7 @@ on: permissions: {} jobs: prepare-package-release: - uses: hoverkraft-tech/ci-github-php/.github/workflows/prepare-package-release.yml@fb76668e10ca8ca0be801e1cf6333ae9cf4a2269 # 1.1.0 + uses: hoverkraft-tech/ci-github-php/.github/workflows/prepare-package-release.yml@41b42b7c00ad20527f1f40fd8c7a85881e36ea6b # chore/update-actions-stable permissions: contents: read pull-requests: read diff --git a/.github/workflows/prepare-package-release.yml b/.github/workflows/prepare-package-release.yml index c801426..e31982c 100644 --- a/.github/workflows/prepare-package-release.yml +++ b/.github/workflows/prepare-package-release.yml @@ -48,7 +48,7 @@ jobs: } - id: plan if: "!startsWith(github.ref, 'refs/tags/')" - uses: hoverkraft-tech/ci-github-publish/actions/release/plan@b942fb00f3115ca70f98f45f2289cc9838eb9312 # 3.0.0 + uses: hoverkraft-tech/ci-github-publish/actions/release/plan@4193622a365c0ab0bcbd6645895fd2c3126b72ba # 3.0.2 with: config-overrides: ${{ inputs.release-config }} target-ref: ${{ github.sha }} @@ -70,7 +70,7 @@ jobs: core.setOutput('tag', tag); - id: verify if: steps.identity.outputs.has-changes == 'true' - uses: hoverkraft-tech/ci-github-publish/actions/release/verify@b942fb00f3115ca70f98f45f2289cc9838eb9312 # 3.0.0 + uses: hoverkraft-tech/ci-github-publish/actions/release/verify@4193622a365c0ab0bcbd6645895fd2c3126b72ba # 3.0.2 with: tags: ${{ format('["{0}"]', steps.identity.outputs.tag) }} require-tags: ${{ startsWith(github.ref, 'refs/tags/') }} diff --git a/.github/workflows/release.md b/.github/workflows/release.md index 18979cb..be41a84 100644 --- a/.github/workflows/release.md +++ b/.github/workflows/release.md @@ -150,7 +150,7 @@ on: permissions: {} jobs: release: - uses: hoverkraft-tech/ci-github-php/.github/workflows/release.yml@fb76668e10ca8ca0be801e1cf6333ae9cf4a2269 # 1.1.0 + uses: hoverkraft-tech/ci-github-php/.github/workflows/release.yml@41b42b7c00ad20527f1f40fd8c7a85881e36ea6b # chore/update-actions-stable permissions: contents: write pull-requests: read diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 00567a3..80d84b4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -173,7 +173,7 @@ jobs: throw new Error('Declare a public Composer package without a hardcoded version.'); } - id: verify - uses: hoverkraft-tech/ci-github-publish/actions/release/verify@b942fb00f3115ca70f98f45f2289cc9838eb9312 # 3.0.0 + uses: hoverkraft-tech/ci-github-publish/actions/release/verify@4193622a365c0ab0bcbd6645895fd2c3126b72ba # 3.0.2 with: tags: ${{ format('["{0}"]', inputs.tag) }} require-tags: ${{ startsWith(github.ref, 'refs/tags/') }} @@ -187,7 +187,7 @@ jobs: contents: write pull-requests: read steps: - - uses: hoverkraft-tech/ci-github-publish/actions/release/create@b942fb00f3115ca70f98f45f2289cc9838eb9312 # 3.0.0 + - uses: hoverkraft-tech/ci-github-publish/actions/release/create@4193622a365c0ab0bcbd6645895fd2c3126b72ba # 3.0.2 with: tag: ${{ inputs.tag }} target-ref: ${{ github.sha }} diff --git a/actions/lint/README.md b/actions/lint/README.md index 77c9025..1d93d36 100644 --- a/actions/lint/README.md +++ b/actions/lint/README.md @@ -26,7 +26,7 @@ comments with collapsed details. ## Usage ```yaml -- uses: hoverkraft-tech/ci-github-php/actions/lint@fb76668e10ca8ca0be801e1cf6333ae9cf4a2269 # 1.1.0 +- uses: hoverkraft-tech/ci-github-php/actions/lint@41b42b7c00ad20527f1f40fd8c7a85881e36ea6b # chore/update-actions-stable with: # Composer project directory. Run setup-php first to install its dependencies. # Default: `.` diff --git a/actions/lint/action.yml b/actions/lint/action.yml index 3499d63..919c724 100644 --- a/actions/lint/action.yml +++ b/actions/lint/action.yml @@ -40,7 +40,7 @@ runs: using: composite steps: - id: directory - uses: hoverkraft-tech/ci-github-common/actions/working-directory@5fbb531db839a26ebcc35c4946be279f945f7633 # 1.0.0 + uses: hoverkraft-tech/ci-github-common/actions/working-directory@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0 with: working-directory: ${{ inputs.working-directory }} - id: run @@ -58,7 +58,7 @@ runs: - name: Report lint results id: reports if: ${{ !cancelled() && steps.directory.outcome == 'success' }} - uses: hoverkraft-tech/ci-github-common/actions/quality/parse-ci-reports@90211d735aa0289702ddbd7eb95b218020ccadad # 2.0.2 + uses: hoverkraft-tech/ci-github-common/actions/quality/parse-ci-reports@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0 with: working-directory: ${{ steps.directory.outputs.absolute-path }} report-paths: auto:lint @@ -66,7 +66,7 @@ runs: output-format: annotations,summary,markdown - name: Publish individual report comment if: ${{ !cancelled() && inputs.comment == 'true' && github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && steps.reports.outputs.lint-markdown != '' }} - uses: hoverkraft-tech/ci-github-common/actions/create-or-update-comment@90211d735aa0289702ddbd7eb95b218020ccadad # 2.0.2 + uses: hoverkraft-tech/ci-github-common/actions/create-or-update-comment@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0 with: title: PHP lint results body: ${{ steps.reports.outputs.lint-markdown }} diff --git a/actions/package/test/README.md b/actions/package/test/README.md index c76f926..f488569 100644 --- a/actions/package/test/README.md +++ b/actions/package/test/README.md @@ -21,7 +21,7 @@ Test the committed Composer distribution in an isolated production installation, ## Usage ```yaml -- uses: hoverkraft-tech/ci-github-php/actions/package/test@fb76668e10ca8ca0be801e1cf6333ae9cf4a2269 # 1.1.0 +- uses: hoverkraft-tech/ci-github-php/actions/package/test@41b42b7c00ad20527f1f40fd8c7a85881e36ea6b # chore/update-actions-stable with: # Git repository root containing the public composer.json. Set up PHP and Composer first. # Default: `.` diff --git a/actions/package/test/action.yml b/actions/package/test/action.yml index 65c42b3..2bb9786 100644 --- a/actions/package/test/action.yml +++ b/actions/package/test/action.yml @@ -15,7 +15,7 @@ runs: using: composite steps: - id: directory - uses: hoverkraft-tech/ci-github-common/actions/working-directory@5fbb531db839a26ebcc35c4946be279f945f7633 # 1.0.0 + uses: hoverkraft-tech/ci-github-common/actions/working-directory@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0 with: working-directory: ${{ inputs.working-directory }} - id: test diff --git a/actions/setup-php/README.md b/actions/setup-php/README.md index fca14d5..7f03ab3 100644 --- a/actions/setup-php/README.md +++ b/actions/setup-php/README.md @@ -21,7 +21,7 @@ Set up PHP and Composer, cache downloads and install project dependencies with o ## Usage ```yaml -- uses: hoverkraft-tech/ci-github-php/actions/setup-php@fb76668e10ca8ca0be801e1cf6333ae9cf4a2269 # 1.1.0 +- uses: hoverkraft-tech/ci-github-php/actions/setup-php@41b42b7c00ad20527f1f40fd8c7a85881e36ea6b # chore/update-actions-stable with: # Project directory relative to the checkout. # Default: `.` diff --git a/actions/setup-php/action.yml b/actions/setup-php/action.yml index 214efbc..78a5198 100644 --- a/actions/setup-php/action.yml +++ b/actions/setup-php/action.yml @@ -37,7 +37,7 @@ runs: using: composite steps: - id: directory - uses: hoverkraft-tech/ci-github-common/actions/working-directory@5fbb531db839a26ebcc35c4946be279f945f7633 # 1.0.0 + uses: hoverkraft-tech/ci-github-common/actions/working-directory@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0 with: working-directory: ${{ inputs.working-directory }} - id: version-file diff --git a/actions/test/README.md b/actions/test/README.md index c5046fe..eb21b87 100644 --- a/actions/test/README.md +++ b/actions/test/README.md @@ -26,7 +26,7 @@ jobs for consolidated comments with collapsed details. ## Usage ```yaml -- uses: hoverkraft-tech/ci-github-php/actions/test@fb76668e10ca8ca0be801e1cf6333ae9cf4a2269 # 1.1.0 +- uses: hoverkraft-tech/ci-github-php/actions/test@41b42b7c00ad20527f1f40fd8c7a85881e36ea6b # chore/update-actions-stable with: # Composer project directory. Run setup-php first to install its dependencies. # Default: `.` diff --git a/actions/test/action.yml b/actions/test/action.yml index 1d1e2a3..005b776 100644 --- a/actions/test/action.yml +++ b/actions/test/action.yml @@ -42,7 +42,7 @@ runs: using: composite steps: - id: directory - uses: hoverkraft-tech/ci-github-common/actions/working-directory@5fbb531db839a26ebcc35c4946be279f945f7633 # 1.0.0 + uses: hoverkraft-tech/ci-github-common/actions/working-directory@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0 with: working-directory: ${{ inputs.working-directory }} - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 @@ -65,7 +65,7 @@ runs: - name: Report test results id: reports if: ${{ !cancelled() && steps.directory.outcome == 'success' }} - uses: hoverkraft-tech/ci-github-common/actions/quality/parse-ci-reports@90211d735aa0289702ddbd7eb95b218020ccadad # 2.0.2 + uses: hoverkraft-tech/ci-github-common/actions/quality/parse-ci-reports@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0 with: working-directory: ${{ steps.directory.outputs.absolute-path }} report-paths: ${{ inputs.coverage == 'github' && 'auto:test,auto:coverage' || 'auto:test' }} @@ -73,7 +73,7 @@ runs: output-format: annotations,summary,markdown - name: Publish individual report comment if: ${{ !cancelled() && inputs.comment == 'true' && github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && (steps.reports.outputs.test-markdown != '' || steps.reports.outputs.coverage-markdown != '') }} - uses: hoverkraft-tech/ci-github-common/actions/create-or-update-comment@90211d735aa0289702ddbd7eb95b218020ccadad # 2.0.2 + uses: hoverkraft-tech/ci-github-common/actions/create-or-update-comment@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0 with: title: PHP test results body: | @@ -135,7 +135,7 @@ runs: core.setOutput('files', files.sort().join(',')); - name: Upload coverage if: "!cancelled() && steps.coverage-reports.outcome == 'success'" - uses: hoverkraft-tech/ci-github-common/actions/quality/codecov@5fbb531db839a26ebcc35c4946be279f945f7633 # 1.0.0 + uses: hoverkraft-tech/ci-github-common/actions/quality/codecov@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0 with: working-directory: ${{ steps.directory.outputs.absolute-path }} files: ${{ steps.coverage-reports.outputs.files }}