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@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
uses: hoverkraft-tech/ci-github-common/.github/workflows/greetings.yml@4c9d51717dc04d823dac2dc9ac2857e7b3069454 # 0.35.0
permissions:
contents: read
issues: write
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 @@ -21,7 +21,7 @@ permissions: {}

jobs:
main:
uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@4c9d51717dc04d823dac2dc9ac2857e7b3069454 # 0.35.0
permissions:
contents: read
issues: write
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 @@ -12,7 +12,7 @@ permissions: {}

jobs:
main:
uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@4c9d51717dc04d823dac2dc9ac2857e7b3069454 # 0.35.0
permissions:
contents: write
pull-requests: write
2 changes: 1 addition & 1 deletion .github/workflows/__shared-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:

jobs:
linter:
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@4c9d51717dc04d823dac2dc9ac2857e7b3069454 # 0.35.0

test-action-docker-build-image:
needs: linter
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/__stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions: {}

jobs:
main:
uses: hoverkraft-tech/ci-github-common/.github/workflows/stale.yml@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
uses: hoverkraft-tech/ci-github-common/.github/workflows/stale.yml@4c9d51717dc04d823dac2dc9ac2857e7b3069454 # 0.35.0
permissions:
issues: write
pull-requests: write
33 changes: 9 additions & 24 deletions .github/workflows/docker-build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,8 @@ jobs:
pull-requests: read
issues: read
packages: write
id-token: write # Needed for getting local workflow actions
steps:
- uses: hoverkraft-tech/ci-github-common/actions/checkout@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
- uses: hoverkraft-tech/ci-github-common/actions/checkout@4c9d51717dc04d823dac2dc9ac2857e7b3069454 # 0.35.0
with:
lfs: ${{ inputs.lfs }}

Expand All @@ -381,7 +380,7 @@ jobs:
run: git lfs pull

- id: local-workflow-actions
uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@4c9d51717dc04d823dac2dc9ac2857e7b3069454 # 0.35.0
with:
actions-path: actions

Expand Down Expand Up @@ -431,7 +430,7 @@ jobs:
core.setOutput('secret-envs', secretEnvs.trim());

- id: build
uses: ./self-workflow/actions/docker/build-image
uses: ./../self-workflow/actions/docker/build-image
with:
oci-registry: ${{ inputs.oci-registry }}
oci-registry-username: ${{ inputs.oci-registry-username }}
Expand All @@ -452,31 +451,24 @@ jobs:

# FIXME: Set built images infos in file to be uploaded as artifacts, because github action does not handle job outputs for matrix
# https://github.com/orgs/community/discussions/26639
- uses: hoverkraft-tech/ci-github-common/actions/set-matrix-output@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
- uses: hoverkraft-tech/ci-github-common/actions/set-matrix-output@4c9d51717dc04d823dac2dc9ac2857e7b3069454 # 0.35.0
with:
artifact-name: ${{ needs.prepare-variables.outputs.artifact-name }}
value: ${{ steps.build.outputs.built-image }}

- uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
if: always() && steps.local-workflow-actions.outputs.repository
with:
actions-path: actions
repository: ${{ steps.local-workflow-actions.outputs.repository }}
ref: ${{ steps.local-workflow-actions.outputs.ref }}

publish-manifests:
name: Publish images manifests
permissions:
contents: read
packages: write
id-token: write # Needed for getting local workflow actions
id-token: write # Needed for signing images
needs: [prepare-variables, build-images]
runs-on: ${{ fromJson(inputs.runs-on) }}
outputs:
built-images: ${{ steps.create-images-manifests.outputs.built-images }}
steps:
- id: get-matrix-outputs
uses: hoverkraft-tech/ci-github-common/actions/get-matrix-outputs@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
uses: hoverkraft-tech/ci-github-common/actions/get-matrix-outputs@4c9d51717dc04d823dac2dc9ac2857e7b3069454 # 0.35.0
with:
artifact-name: ${{ needs.prepare-variables.outputs.artifact-name }}

Expand Down Expand Up @@ -514,12 +506,12 @@ jobs:
core.setOutput('built-images', JSON.stringify(images));

- id: local-workflow-actions
uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@4c9d51717dc04d823dac2dc9ac2857e7b3069454 # 0.35.0
with:
actions-path: actions

- id: create-images-manifests
uses: ./self-workflow/actions/docker/create-images-manifests
uses: ./../self-workflow/actions/docker/create-images-manifests
with:
oci-registry: ${{ inputs.oci-registry }}
oci-registry-username: ${{ inputs.oci-registry-username }}
Expand All @@ -545,15 +537,8 @@ jobs:
const imagesToSign = Object.values(builtImages).map(image => image.images).flat();
core.setOutput('images-to-sign', JSON.stringify(imagesToSign));

- uses: ./self-workflow/actions/docker/sign-images
- uses: ./../self-workflow/actions/docker/sign-images
if: steps.get-images-to-sign.outputs.images-to-sign
with:
images: ${{ steps.get-images-to-sign.outputs.images-to-sign }}
github-token: ${{ secrets.GITHUB_TOKEN }}

- uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
if: always() && steps.local-workflow-actions.outputs.repository
with:
actions-path: actions
repository: ${{ steps.local-workflow-actions.outputs.repository }}
ref: ${{ steps.local-workflow-actions.outputs.ref }}
12 changes: 2 additions & 10 deletions .github/workflows/prune-pull-requests-images-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,23 +104,15 @@ jobs:
contents: read
pull-requests: read
packages: write
id-token: write # Needed for getting local workflow actions
steps:
- id: local-workflow-actions
uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@4c9d51717dc04d823dac2dc9ac2857e7b3069454 # 0.35.0
with:
actions-path: actions

- id: build
uses: ./self-workflow/actions/docker/prune-pull-requests-image-tags
uses: ./../self-workflow/actions/docker/prune-pull-requests-image-tags
with:
image: ${{ matrix.image }}
pull-request-tag-filter: ${{ inputs.pull-request-tag-filter }}
preserve-tags-filter: ${{ inputs.preserve-tags-filter }}

- uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
if: always() && steps.local-workflow-actions.outputs.repository
with:
actions-path: actions
repository: ${{ steps.local-workflow-actions.outputs.repository }}
ref: ${{ steps.local-workflow-actions.outputs.ref }}
4 changes: 2 additions & 2 deletions actions/docker/build-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,12 @@ outputs:
runs:
using: "composite"
steps:
- uses: hoverkraft-tech/ci-github-common/actions/local-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
- uses: hoverkraft-tech/ci-github-common/actions/local-actions@4c9d51717dc04d823dac2dc9ac2857e7b3069454 # 0.35.0
with:
source-path: ${{ github.action_path }}/../..

- id: slugify-platform
uses: hoverkraft-tech/ci-github-common/actions/slugify@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
uses: hoverkraft-tech/ci-github-common/actions/slugify@4c9d51717dc04d823dac2dc9ac2857e7b3069454 # 0.35.0
with:
value: ${{ inputs.platform }}

Expand Down
2 changes: 1 addition & 1 deletion actions/docker/create-images-manifests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ outputs:
runs:
using: "composite"
steps:
- uses: hoverkraft-tech/ci-github-common/actions/local-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
- uses: hoverkraft-tech/ci-github-common/actions/local-actions@4c9d51717dc04d823dac2dc9ac2857e7b3069454 # 0.35.0
with:
source-path: ${{ github.action_path }}/../..

Expand Down
4 changes: 2 additions & 2 deletions actions/docker/get-image-metadata/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ runs:
steps:
# #region Prepare build variables

- uses: hoverkraft-tech/ci-github-common/actions/local-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
- uses: hoverkraft-tech/ci-github-common/actions/local-actions@4c9d51717dc04d823dac2dc9ac2857e7b3069454 # 0.35.0
with:
source-path: ${{ github.action_path }}/../..

Expand All @@ -59,7 +59,7 @@ runs:

- id: get-issue-number
if: inputs.tag == '' && (github.event_name == 'pull_request' || github.event_name == 'pull_request_review' || github.event_name == 'issue_comment')
uses: hoverkraft-tech/ci-github-common/actions/get-issue-number@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
uses: hoverkraft-tech/ci-github-common/actions/get-issue-number@4c9d51717dc04d823dac2dc9ac2857e7b3069454 # 0.35.0

- id: define-metadata-inputs
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
Expand Down
4 changes: 2 additions & 2 deletions actions/docker/prune-pull-requests-image-tags/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ inputs:
runs:
using: "composite"
steps:
- uses: hoverkraft-tech/ci-github-common/actions/local-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
- uses: hoverkraft-tech/ci-github-common/actions/local-actions@4c9d51717dc04d823dac2dc9ac2857e7b3069454 # 0.35.0
with:
source-path: ${{ github.action_path }}/../..

Expand All @@ -49,7 +49,7 @@ runs:
image: ${{ inputs.image }}

- id: is-organization-or-user
uses: hoverkraft-tech/ci-github-common/actions/repository-owner-is-organization@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
uses: hoverkraft-tech/ci-github-common/actions/repository-owner-is-organization@4c9d51717dc04d823dac2dc9ac2857e7b3069454 # 0.35.0

- id: get-tags-to-delete
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
Expand Down
4 changes: 2 additions & 2 deletions actions/helm/generate-docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ runs:
}
core.setOutput("markdownlint-config-path", markdownlintConfigPath);

- uses: hoverkraft-tech/ci-github-common/actions/checkout@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
- uses: hoverkraft-tech/ci-github-common/actions/checkout@4c9d51717dc04d823dac2dc9ac2857e7b3069454 # 0.35.0

- uses: losisin/helm-docs-github-action@2ccf3e77eb70dc80d62f8cc26f15d0a96b75fef4 # v1.8.0
with:
Expand Down Expand Up @@ -231,7 +231,7 @@ runs:
client-id: ${{ inputs.github-app-client-id }}
private-key: ${{ inputs.github-app-key }}

- uses: hoverkraft-tech/ci-github-common/actions/create-and-merge-pull-request@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
- uses: hoverkraft-tech/ci-github-common/actions/create-and-merge-pull-request@4c9d51717dc04d823dac2dc9ac2857e7b3069454 # 0.35.0
with:
github-token: ${{ steps.generate-token.outputs.token || inputs.github-token }}
branch: docs/update-helm-chart-docs-${{ steps.prepare-variables.outputs.working-directory-name }}
Expand Down
5 changes: 5 additions & 0 deletions actions/helm/generate-docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion actions/helm/release-chart/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ outputs:
runs:
using: "composite"
steps:
- uses: hoverkraft-tech/ci-github-common/actions/checkout@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
- uses: hoverkraft-tech/ci-github-common/actions/checkout@4c9d51717dc04d823dac2dc9ac2857e7b3069454 # 0.35.0

- id: chart-values-updates
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
Expand Down
2 changes: 1 addition & 1 deletion actions/helm/test-chart/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ runs:
echo "::error ::At least one of 'enable-lint' or 'enable-install' input must be true"
exit 1

- uses: hoverkraft-tech/ci-github-common/actions/checkout@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
- uses: hoverkraft-tech/ci-github-common/actions/checkout@4c9d51717dc04d823dac2dc9ac2857e7b3069454 # 0.35.0
with:
fetch-depth: 0

Expand Down
Loading