Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/__greetings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/__main-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/__need-fix-to-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/__prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
11 changes: 6 additions & 5 deletions .github/workflows/__release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
{
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/__renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/__semantic-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/__shared-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/__stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/__test-action-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/__test-action-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare-package-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prepare-package-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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/') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/') }}
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion actions/lint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: `.`
Expand Down
6 changes: 3 additions & 3 deletions actions/lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -58,15 +58,15 @@ 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
report-name: PHP lint
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 }}
Expand Down
2 changes: 1 addition & 1 deletion actions/package/test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: `.`
Expand Down
2 changes: 1 addition & 1 deletion actions/package/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion actions/setup-php/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: `.`
Expand Down
2 changes: 1 addition & 1 deletion actions/setup-php/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion actions/test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: `.`
Expand Down
8 changes: 4 additions & 4 deletions actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -65,15 +65,15 @@ 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' }}
report-name: PHP tests
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: |
Expand Down Expand Up @@ -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 }}
Expand Down
Loading