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/actions/parse-ci-reports/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Parse native reports, publish summaries and retain selected files in one artifac
## Usage

```yaml
- uses: hoverkraft-tech/ci-github-python/.github/actions/parse-ci-reports@f9227d0f443be4edbb7aacfc0701caaf25523f77 # fix/enforce-lint-checks
- uses: hoverkraft-tech/ci-github-python/.github/actions/parse-ci-reports@5f7a722eca203764bf066c1272fc85bc4700d35c # dependabot/github_actions/github-actions-dependencies-0daf74fb81
with:
# Validated absolute project directory.
# This input is required.
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/parse-ci-reports/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runs:
steps:
- id: parse
if: ${{ !cancelled() }}
uses: hoverkraft-tech/ci-github-common/actions/quality/parse-ci-reports@66882b24f9f13e45a6541896a5a7c638cb91c94c
uses: hoverkraft-tech/ci-github-common/actions/quality/parse-ci-reports@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0
with:
working-directory: ${{ inputs.directory }}
report-paths: |
Expand All @@ -37,7 +37,7 @@ runs:
report-name: ${{ inputs.report-name }}
output-format: annotations,summary,markdown
- id: prepare
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
env:
DIRECTORY: ${{ inputs.directory }}
REPORT_FILES: ${{ steps.parse.outputs.parsed-files }}
Expand All @@ -53,7 +53,7 @@ runs:
if: ${{ !cancelled() }}
- id: upload
if: ${{ !cancelled() && steps.prepare.outputs.files != '' }}
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: ${{ steps.prepare.outputs.name }}
path: ${{ steps.prepare.outputs.files }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/__release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
pull-requests: read
steps:
- id: generate-token
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
with:
client-id: ${{ vars.CI_BOT_APP_CLIENT_ID }}
private-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/__renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- name: Generate GitHub App token
id: generate-token
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
with:
client-id: ${{ vars.CI_BOT_APP_CLIENT_ID }}
private-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }}
Expand All @@ -22,7 +22,7 @@ jobs:
permission-statuses: write
permission-workflows: write
- name: Run Renovate
uses: renovatebot/github-action@266fef21329c44765ad42f9dea1f01f5d2d91084
uses: renovatebot/github-action@acdd6bda8b035c99ce59d5675816af2aa65a1774 # v46.3.14
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@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0
uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@d606f77fad305ef07dfde3db5270f5e324019c97 # 4.2.4
2 changes: 1 addition & 1 deletion .github/workflows/__shared-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Internal - Common Continuous Integration tasks
permissions: {}
jobs:
linter:
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@66882b24f9f13e45a6541896a5a7c638cb91c94c
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@d606f77fad305ef07dfde3db5270f5e324019c97 # 4.2.4
permissions:
contents: read
statuses: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/__test-action-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
contents: read
steps:
- name: Arrange - Check out the repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Arrange - Install the project runtime and dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/__test-action-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
artifact-id: ${{ steps.failed-lint.outputs.report-artifact-id }}
steps:
- name: Arrange - Check out the repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Assert - Action contract tests pass
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
contents: read
steps:
- name: Assert - Download retained lint reports
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
artifact-ids: ${{ needs.lint.outputs.artifact-id }}
path: ${{ runner.temp }}/lint-reports
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/__test-action-package-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
contents: read
steps:
- name: Arrange - Check out the repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Arrange - Install the project runtime and dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/__test-action-parse-ci-reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
outputs:
artifact-id: ${{ steps.report.outputs.artifact-id }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Assert - Action contract tests pass
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
contents: read
steps:
- name: Assert - Artifact can be downloaded
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
artifact-ids: ${{ needs.reports.outputs.artifact-id }}
path: ${{ runner.temp }}/downloaded-reports
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/__test-action-setup-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
contents: read
steps:
- name: Arrange - Check out the repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Assert - Action contract tests pass
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/__test-action-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
outputs:
artifact-id: ${{ steps.failed-test.outputs.report-artifact-id }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
name: Arrange - Check out the repository
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
coverage: ""
name: Act - Run a failing test command
- name: Assert failures and reports
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
env:
SUCCESS_ARTIFACT: ${{ steps.test.outputs.report-artifact-id }}
FAILURE_ARTIFACT: ${{ steps.failed-test.outputs.report-artifact-id }}
Expand All @@ -62,7 +62,7 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
artifact-ids: ${{ needs.test.outputs.artifact-id }}
path: ${{ runner.temp }}/failed-reports
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Assert - Workflow configuration tests pass
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 @@ -149,7 +149,7 @@ on:
permissions: {}
jobs:
continuous-integration:
uses: hoverkraft-tech/ci-github-python/.github/workflows/continuous-integration.yml@b54ee767d7525a8132452198bdba98ed05108331 # main
uses: hoverkraft-tech/ci-github-python/.github/workflows/continuous-integration.yml@5f7a722eca203764bf066c1272fc85bc4700d35c # dependabot/github_actions/github-actions-dependencies-0daf74fb81
permissions:
contents: read
id-token: write
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ jobs:
package-tests: ${{ steps.config.outputs.package-tests }}
steps:
- id: config
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
env:
VERSIONS: ${{ inputs.python-versions }}
LINT: ${{ inputs.lint }}
Expand Down Expand Up @@ -209,10 +209,10 @@ jobs:
contents: read
steps:
- &checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/dependency-review-action@bbc44d14a204704ccc493733616cd1e93a0321ec
- uses: actions/dependency-review-action@bbc44d14a204704ccc493733616cd1e93a0321ec # v5.0.1
lint:
if: inputs.checks && needs.configuration.outputs.lint != 'null'
needs: configuration
Expand Down
2 changes: 1 addition & 1 deletion actions/audit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ See the [continuous integration workflow](../../.github/workflows/continuous-int
## Usage

```yaml
- uses: hoverkraft-tech/ci-github-python/actions/audit@b54ee767d7525a8132452198bdba98ed05108331 # main
- uses: hoverkraft-tech/ci-github-python/actions/audit@5f7a722eca203764bf066c1272fc85bc4700d35c # dependabot/github_actions/github-actions-dependencies-0daf74fb81
with:
# uv project directory.
# Default: `.`
Expand Down
2 changes: 1 addition & 1 deletion actions/audit/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ runs:
using: composite
steps:
- id: directory
uses: hoverkraft-tech/ci-github-common/actions/working-directory@66882b24f9f13e45a6541896a5a7c638cb91c94c
uses: hoverkraft-tech/ci-github-common/actions/working-directory@d606f77fad305ef07dfde3db5270f5e324019c97 # 4.2.4
with:
working-directory: ${{ inputs.working-directory }}
- id: audit
Expand Down
2 changes: 1 addition & 1 deletion actions/lint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ See the [continuous integration workflow](../../.github/workflows/continuous-int
## Usage

```yaml
- uses: hoverkraft-tech/ci-github-python/actions/lint@b54ee767d7525a8132452198bdba98ed05108331 # main
- uses: hoverkraft-tech/ci-github-python/actions/lint@5f7a722eca203764bf066c1272fc85bc4700d35c # dependabot/github_actions/github-actions-dependencies-0daf74fb81
with:
# uv project directory.
# Default: `.`
Expand Down
2 changes: 1 addition & 1 deletion actions/lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ runs:
using: composite
steps:
- id: directory
uses: hoverkraft-tech/ci-github-common/actions/working-directory@66882b24f9f13e45a6541896a5a7c638cb91c94c
uses: hoverkraft-tech/ci-github-common/actions/working-directory@d606f77fad305ef07dfde3db5270f5e324019c97 # 4.2.4
with:
working-directory: ${{ inputs.working-directory }}
- id: run
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 @@ -63,7 +63,7 @@ See the [continuous integration workflow](../../../.github/workflows/continuous-
## Usage

```yaml
- uses: hoverkraft-tech/ci-github-python/actions/package/test@b54ee767d7525a8132452198bdba98ed05108331 # main
- uses: hoverkraft-tech/ci-github-python/actions/package/test@5f7a722eca203764bf066c1272fc85bc4700d35c # dependabot/github_actions/github-actions-dependencies-0daf74fb81
with:
# uv package directory with a build-system.
# 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 @@ -39,7 +39,7 @@ runs:
using: composite
steps:
- id: directory
uses: hoverkraft-tech/ci-github-common/actions/working-directory@66882b24f9f13e45a6541896a5a7c638cb91c94c
uses: hoverkraft-tech/ci-github-common/actions/working-directory@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0
with:
working-directory: ${{ inputs.working-directory }}
- id: package
Expand Down
4 changes: 2 additions & 2 deletions actions/setup-python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Later lint, test and audit actions reuse this environment.

```yaml
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: hoverkraft-tech/ci-github-python/actions/setup-python@main
Expand All @@ -80,7 +80,7 @@ See the [continuous integration workflow](../../.github/workflows/continuous-int
## Usage

```yaml
- uses: hoverkraft-tech/ci-github-python/actions/setup-python@b54ee767d7525a8132452198bdba98ed05108331 # main
- uses: hoverkraft-tech/ci-github-python/actions/setup-python@5f7a722eca203764bf066c1272fc85bc4700d35c # dependabot/github_actions/github-actions-dependencies-0daf74fb81
with:
# uv project directory inside the checkout.
# Default: `.`
Expand Down
6 changes: 3 additions & 3 deletions actions/setup-python/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ description: |

```yaml
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: hoverkraft-tech/ci-github-python/actions/setup-python@main
Expand Down Expand Up @@ -66,7 +66,7 @@ runs:
using: composite
steps:
- id: directory
uses: hoverkraft-tech/ci-github-common/actions/working-directory@66882b24f9f13e45a6541896a5a7c638cb91c94c
uses: hoverkraft-tech/ci-github-common/actions/working-directory@d606f77fad305ef07dfde3db5270f5e324019c97 # 4.2.4
with:
working-directory: ${{ inputs.working-directory }}
- id: validate
Expand All @@ -81,7 +81,7 @@ runs:
test -f uv.lock || { echo 'Commit uv.lock before running CI.' >&2; exit 1; }
fi
- id: uv
uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d
uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
with:
version: ${{ inputs.uv-version }}
python-version: ${{ inputs.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion actions/test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ See the [continuous integration workflow](../../.github/workflows/continuous-int
## Usage

```yaml
- uses: hoverkraft-tech/ci-github-python/actions/test@b54ee767d7525a8132452198bdba98ed05108331 # main
- uses: hoverkraft-tech/ci-github-python/actions/test@5f7a722eca203764bf066c1272fc85bc4700d35c # dependabot/github_actions/github-actions-dependencies-0daf74fb81
with:
# uv project directory.
# Default: `.`
Expand Down
4 changes: 2 additions & 2 deletions actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ runs:
using: composite
steps:
- id: directory
uses: hoverkraft-tech/ci-github-common/actions/working-directory@66882b24f9f13e45a6541896a5a7c638cb91c94c
uses: hoverkraft-tech/ci-github-common/actions/working-directory@d606f77fad305ef07dfde3db5270f5e324019c97 # 4.2.4
with:
working-directory: ${{ inputs.working-directory }}
- id: validate
Expand Down Expand Up @@ -85,7 +85,7 @@ runs:
group: ${{ inputs.report-group || github.job }}
- name: Upload coverage to Codecov
if: ${{ !cancelled() && steps.run.outcome != 'skipped' && inputs.coverage == 'codecov' }}
uses: hoverkraft-tech/ci-github-common/actions/quality/codecov@66882b24f9f13e45a6541896a5a7c638cb91c94c
uses: hoverkraft-tech/ci-github-common/actions/quality/codecov@d606f77fad305ef07dfde3db5270f5e324019c97 # 4.2.4
with:
working-directory: ${{ steps.directory.outputs.absolute-path }}
files: cobertura.xml
Expand Down
4 changes: 3 additions & 1 deletion docs/development/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ Set `GITHUB_TOKEN` when authentication is required or anonymous API limits are r

## Maintenance and releases

External actions are pinned to immutable commits. Dependabot updates actions,
External actions and reusable workflows are pinned to full commit SHAs with
the exact matching release tag in an inline comment. Verify each tag resolves
to its pinned commit before changing either value. Dependabot updates actions,
Docker, npm validation dependencies and the language fixture. Renovate updates
embedded tool versions and the Node version file. Release changes use Conventional
Commits and the shared `ci-github-publish` preparation, planning, creation and
Expand Down
Loading