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
6 changes: 4 additions & 2 deletions .github/workflows/action-tag-release.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This workflow is managed by gh actions-lock.

name: Tag Action Release

# Bumps the repo's semantic version tag (vX.Y.Z) and moves the matching
Expand Down Expand Up @@ -35,7 +37,7 @@ jobs:
steps:
- name: Resolve bump
id: bump
uses: actions/github-script@v9
uses: actions/github-script@v9.0.0
env:
BUMP_INPUT: ${{ inputs.bump }}
MSG: ${{ github.event.head_commit.message }}
Expand All @@ -60,7 +62,7 @@ jobs:
core.setOutput('bump', bump);

- name: Checkout repository
uses: actions/checkout@v7
uses: actions/checkout@v7.0.1
with:
fetch-depth: 0
fetch-tags: true
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/action-workflow-release.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This workflow is managed by gh actions-lock.

name: Action Workflow Release

# Moves a static release tag (default: `release`) to the triggering commit.
Expand Down Expand Up @@ -29,7 +31,7 @@ jobs:
runs-on: ${{ inputs.runner }}
steps:
- name: Checkout repository
uses: actions/checkout@v7
uses: actions/checkout@v7.0.1

- name: Move release tag
env:
Expand Down
153 changes: 153 additions & 0 deletions .github/workflows/actions.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
# This file is machine-generated by `gh actions-lock`.
# Do not edit by hand; run `gh actions-lock` to update.
# Docs: https://gh.io/actions-lockfile
version: 'v0.0.2'
workflows:
'.github/workflows/action-tag-release.yml':
- 'actions/checkout@v7.0.1'
- 'actions/github-script@v9.0.0'
'.github/workflows/action-workflow-release.yml':
- 'actions/checkout@v7.0.1'
'.github/workflows/docker-build-push.yml':
- 'actions/attest-build-provenance@v4.2.2'
- 'actions/checkout@v7.0.1'
- 'docker/build-push-action@v7.4.0'
- 'docker/login-action@v4.6.0'
- 'docker/metadata-action@v6.2.0'
- 'docker/setup-buildx-action@v4.4.1'
'.github/workflows/docker-build.yml':
- 'actions/checkout@v7.0.1'
- 'docker/build-push-action@v7.4.0'
- 'docker/setup-buildx-action@v4.4.1'
'.github/workflows/helm-lint.yml':
- 'actions/checkout@v7.0.1'
- 'azure/setup-helm@v5.0.1'
'.github/workflows/helm-publish.yml':
- 'actions/checkout@v7.0.1'
- 'azure/setup-helm@v5.0.1'
'.github/workflows/local-pr.yml':
- 'actions/checkout@v7.0.1'
'.github/workflows/python-build-artifacts.yml':
- 'actions/checkout@v7.0.1'
- 'actions/setup-python@v7.0.0'
- 'actions/upload-artifact@v7.0.2'
- 'softprops/action-gh-release@v3.0.3'
'.github/workflows/python-package-check.yml':
- 'actions/checkout@v7.0.1'
- 'actions/setup-python@v7.0.0'
'.github/workflows/python-pr-check.yml':
- '96daysleft/github-workflows@release'
- 'actions/checkout@v7.0.1'
- 'actions/setup-python@v7.0.0'
- 'the-pr-agent/pr-agent@v0.45.0'
'.github/workflows/vscode-ext-publish.yml':
- 'actions/checkout@v7.0.1'
- 'actions/github-script@v9.0.0'
- 'actions/setup-node@v7.1.0'
'.github/workflows/vscode-ext-release.yml':
- 'actions/attest-build-provenance@v4.2.2'
- 'actions/attest@v4.2.2'
- 'actions/checkout@v7.0.1'
- 'actions/github-script@v9.0.0'
- 'actions/setup-node@v7.1.0'
- 'anchore/sbom-action@v0.24.0'
'.github/workflows/vscode-pr-check.yml':
- '96daysleft/github-workflows@release'
- 'actions/checkout@v7.0.1'
- 'actions/setup-node@v7.1.0'
- 'the-pr-agent/pr-agent@v0.45.0'
dependencies:
'96daysleft/github-workflows@release':
ref: 'release'
commit: 'sha1-df1c4fa9af8b7954af13095b80474be4dd66c51d'
owner_id: 34142483
repo_id: 1233815221
uses:
- 'actions/github-script@v9'
'actions/attest-build-provenance@v4.2.2':
ref: 'v4.2.2'
commit: 'sha1-4d101475d8b20a2381f78447822ac1eab6504dd8'
owner_id: 44036562
repo_id: 760702757
uses:
- 'actions/attest@508db95dd578ae2727ebd6217d5ba78e4fbda05d'
'actions/attest@508db95dd578ae2727ebd6217d5ba78e4fbda05d':
ref: 'v4.2.1'
commit: 'sha1-508db95dd578ae2727ebd6217d5ba78e4fbda05d'
owner_id: 44036562
repo_id: 760701061
'actions/attest@v4.2.2':
ref: 'v4.2.2'
commit: 'sha1-1e69f48acb82d1966a394da916b4c1698aa569d6'
owner_id: 44036562
repo_id: 760701061
'actions/checkout@v7.0.1':
ref: 'v7.0.1'
commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
owner_id: 44036562
repo_id: 197814629
'actions/github-script@v9':
ref: 'v9'
commit: 'sha1-3a2844b7e9c422d3c10d287c895573f7108da1b3'
owner_id: 44036562
repo_id: 205262760
'actions/github-script@v9.0.0':
ref: 'v9.0.0'
commit: 'sha1-3a2844b7e9c422d3c10d287c895573f7108da1b3'
owner_id: 44036562
repo_id: 205262760
'actions/setup-node@v7.1.0':
ref: 'v7.1.0'
commit: 'sha1-949feb2413d6458794dcd2491c4babbbce0c15c1'
owner_id: 44036562
repo_id: 189476904
'actions/setup-python@v7.0.0':
ref: 'v7.0.0'
commit: 'sha1-5fda3b95a4ea91299a34e894583c3862153e4b97'
owner_id: 44036562
repo_id: 192625525
'actions/upload-artifact@v7.0.2':
ref: 'v7.0.2'
commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9'
owner_id: 44036562
repo_id: 192625955
'anchore/sbom-action@v0.24.0':
ref: 'v0.24.0'
commit: 'sha1-e22c389904149dbc22b58101806040fa8d37a610'
owner_id: 16208487
repo_id: 399925381
'azure/setup-helm@v5.0.1':
ref: 'v5.0.1'
commit: 'sha1-9bc31f4ebc9c6b171d7bfbaa5d006ae7abdb4310'
owner_id: 6844498
repo_id: 210310251
'docker/build-push-action@v7.4.0':
ref: 'v7.4.0'
commit: 'sha1-c3c9e263c25d99ce0380d002d59b67737d91b0dc'
owner_id: 5429470
repo_id: 241092383
'docker/login-action@v4.6.0':
ref: 'v4.6.0'
commit: 'sha1-dbcb813823bdd20940b903addbd779551569679f'
owner_id: 5429470
repo_id: 287743349
'docker/metadata-action@v6.2.0':
ref: 'v6.2.0'
commit: 'sha1-dc802804100637a589fabce1cb79ff13a1411302'
owner_id: 5429470
repo_id: 306769011
'docker/setup-buildx-action@v4.4.1':
ref: 'v4.4.1'
commit: 'sha1-f87e5991a6d7451dcb8d9637bfbc97413f497069'
owner_id: 5429470
repo_id: 288485773
'softprops/action-gh-release@v3.0.3':
ref: 'v3.0.3'
commit: 'sha1-efb35369e0ad2afab669f228072c1b0d510eae64'
owner_id: 2242
repo_id: 204253808
'the-pr-agent/pr-agent@v0.45.0':
ref: 'v0.45.0'
commit: 'sha1-aaa29921481aaa171f8b62adeeaa4fbffb3ee7e3'
owner_id: 264152072
repo_id: 662766482
14 changes: 8 additions & 6 deletions .github/workflows/docker-build-push.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This workflow is managed by gh actions-lock.

name: Docker Build and Push

on:
Expand Down Expand Up @@ -56,18 +58,18 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v7
uses: actions/checkout@v7.0.1

- name: Log in to GitHub Container Registry
uses: docker/login-action@v4
uses: docker/login-action@v4.6.0
with:
registry: ${{ inputs.registry }}
username: ${{ github.actor }}
password: ${{ secrets.registry-password }}

- name: Extract metadata
id: meta
uses: docker/metadata-action@v6
uses: docker/metadata-action@v6.2.0
with:
images: ${{ inputs.registry }}/${{ inputs.image-name != '' && inputs.image-name || github.repository }}
tags: |
Expand All @@ -76,11 +78,11 @@ jobs:
type=raw,value=latest

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
uses: docker/setup-buildx-action@v4.4.1

- name: Build and push image
id: build
uses: docker/build-push-action@v7
uses: docker/build-push-action@v7.4.0
with:
context: ${{ inputs.context }}
file: ${{ inputs.dockerfile != '' && inputs.dockerfile || null }}
Expand All @@ -97,7 +99,7 @@ jobs:
provenance: mode=max

- name: Attest build provenance
uses: actions/attest-build-provenance@v4
uses: actions/attest-build-provenance@v4.2.2
with:
subject-name: ${{ inputs.registry }}/${{ inputs.image-name != '' && inputs.image-name || github.repository }}
subject-digest: ${{ steps.build.outputs.digest }}
Expand Down
64 changes: 64 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# This workflow is managed by gh actions-lock.

name: Docker Build

# Build-only counterpart to docker-build-push.yml for PR checks: no registry
# login, no push, read-only permissions.

on:
workflow_call:
inputs:
runner:
description: 'Runner label(s) for the workflow jobs'
type: string
default: 'ubuntu-latest'
context:
description: 'Docker build context path'
type: string
default: '.'
dockerfile:
description: 'Path to the Dockerfile'
type: string
default: ''
platforms:
description: 'Comma-separated list of target platforms (e.g. linux/amd64,linux/arm64)'
type: string
default: ''
build-args:
description: 'Newline-separated build-time variables (KEY=VALUE), passed to build-push-action build-args'
type: string
default: ''
build-contexts:
description: 'Newline-separated additional build contexts (NAME=PATH)'
type: string
default: ''
target:
description: 'Target build stage to build'
type: string
default: ''

permissions:
contents: read

jobs:
build:
runs-on: ${{ inputs.runner }}
steps:
- name: Checkout
uses: actions/checkout@v7.0.1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4.4.1

- name: Build image
uses: docker/build-push-action@v7.4.0
with:
context: ${{ inputs.context }}
file: ${{ inputs.dockerfile != '' && inputs.dockerfile || null }}
platforms: ${{ inputs.platforms != '' && inputs.platforms || null }}
target: ${{ inputs.target != '' && inputs.target || null }}
build-args: ${{ inputs.build-args }}
build-contexts: ${{ inputs.build-contexts }}
push: false
cache-from: type=gha
cache-to: type=gha,mode=max
50 changes: 50 additions & 0 deletions .github/workflows/helm-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# This workflow is managed by gh actions-lock.

name: Helm Lint

on:
workflow_call:
inputs:
runner:
description: 'Runner label(s) for the workflow jobs'
type: string
default: 'ubuntu-latest'
chart-path:
description: 'Path to the Helm chart directory (e.g. helm/my-chart)'
type: string
required: true
values-files:
description: 'Newline-separated values files to lint the chart with (passed as -f)'
type: string
default: ''
strict:
description: 'Fail on lint warnings'
type: boolean
default: false

permissions:
contents: read

jobs:
lint:
runs-on: ${{ inputs.runner }}
steps:
- name: Checkout repository
uses: actions/checkout@v7.0.1

- name: Install Helm
uses: azure/setup-helm@v5.0.1

- name: Lint chart
env:
CHART_PATH: ${{ inputs.chart-path }}
VALUES_FILES: ${{ inputs.values-files }}
STRICT: ${{ inputs.strict }}
run: |
set -euo pipefail
args=()
while IFS= read -r f; do
[ -n "$f" ] && args+=(-f "$f")
done <<< "$VALUES_FILES"
[ "$STRICT" = "true" ] && args+=(--strict)
helm lint "$CHART_PATH" "${args[@]}"
12 changes: 9 additions & 3 deletions .github/workflows/helm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This workflow is managed by gh actions-lock.

name: Helm Chart Publish

on:
Expand All @@ -20,6 +22,10 @@ on:
description: 'OCI registry host'
type: string
default: 'ghcr.io'
chart-repository:
description: 'Repository path under the owner that charts are pushed to (oci://<registry>/<owner>/<chart-repository>). Keeps charts separate from same-named images.'
type: string
default: 'charts'
tag-name:
description: 'Release tag (e.g. v1.2.3). Defaults to the calling workflow ref name.'
type: string
Expand All @@ -37,10 +43,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v7
uses: actions/checkout@v7.0.1

- name: Install Helm
uses: azure/setup-helm@v5
uses: azure/setup-helm@v5.0.1

- name: Log in to GitHub Container Registry
env:
Expand All @@ -65,4 +71,4 @@ jobs:
- name: Push chart to GHCR
run: |
helm push /tmp/helm-output/${{ inputs.chart-name }}-*.tgz \
oci://${{ inputs.registry }}/${{ github.repository_owner }}
oci://${{ inputs.registry }}/${{ github.repository_owner }}/${{ inputs.chart-repository }}
Loading
Loading