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@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
uses: hoverkraft-tech/ci-github-common/.github/workflows/greetings.yml@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
permissions:
contents: read
issues: write
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/__main-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,29 +77,29 @@ jobs:
- uses: ./actions/helm/generate-docs
with:
working-directory: ./tests/charts
github-app-id: ${{ vars.CI_BOT_APP_ID }}
github-app-client-id: ${{ vars.CI_BOT_APP_CLIENT_ID }}
github-app-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }}

release:
needs: ci
if: github.event_name != 'schedule'
uses: hoverkraft-tech/ci-github-publish/.github/workflows/release-actions.yml@b56be562f38e0e3e712f09691a8fe930aae9db1b # 0.22.0
uses: hoverkraft-tech/ci-github-publish/.github/workflows/release-actions.yml@48e0c54489152b98d9e18f0454ccce120e9d0fd1 # 0.23.0
permissions:
contents: read
with:
update-all: ${{ (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) || github.event_name == 'workflow_dispatch' }}
github-app-id: ${{ vars.CI_BOT_APP_ID }}
github-app-client-id: ${{ vars.CI_BOT_APP_CLIENT_ID }}
secrets:
github-app-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }}

sync-docs:
needs: release
if: github.event_name != 'schedule' && github.ref_name == github.event.repository.default_branch && needs.release.outputs.artifact-id
uses: hoverkraft-tech/public-docs/.github/workflows/sync-docs-dispatcher.yml@c40c17f7d6a8090950b3ef4bfc70502707a6bb9f # 0.3.0
uses: hoverkraft-tech/public-docs/.github/workflows/sync-docs-dispatcher.yml@f3c9291760d927e6214e8d5f0a376af2d537c369 # 0.4.0
permissions:
contents: read
with:
artifact-id: ${{ needs.release.outputs.artifact-id }}
github-app-id: ${{ vars.CI_BOT_APP_ID }}
github-app-client-id: ${{ vars.CI_BOT_APP_CLIENT_ID }}
secrets:
github-app-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }}
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@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
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@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
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@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2

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@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
uses: hoverkraft-tech/ci-github-common/.github/workflows/stale.yml@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
permissions:
issues: write
pull-requests: write
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
}
}
]
build-secret-github-app-id: ${{ vars.CI_BOT_APP_ID }}
build-secret-github-app-client-id: ${{ vars.CI_BOT_APP_CLIENT_ID }}
build-secret-github-app-token-env: |
SECRET_ENV_GITHUB_APP_TOKEN_1
SECRET_ENV_GITHUB_APP_TOKEN_2
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/docker-build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ on: # yamllint disable-line rule:truthy
Environment variable name(s) to pass GitHub token generated by GitHub App.
Can be a multiline string list.
This is useful to pass a generated token to the build, as it is not possible to share generated secrets between jobs.
Needs input `build-secret-github-app-id` and secret `build-secret-github-app-key`.
Needs input `build-secret-github-app-client-id` and secret `build-secret-github-app-key`.
type: string
required: false
default: "GITHUB_APP_TOKEN"
build-secret-github-app-id:
build-secret-github-app-client-id:
description: |
GitHub App ID to generate GitHub token to be passed as build secret env.
GitHub App client ID to generate GitHub token to be passed as build secret env.
See https://github.com/actions/create-github-app-token.
required: false
type: string
Expand Down Expand Up @@ -372,7 +372,7 @@ jobs:
packages: write
id-token: write # Needed for getting local workflow actions
steps:
- uses: hoverkraft-tech/ci-github-common/actions/checkout@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
- uses: hoverkraft-tech/ci-github-common/actions/checkout@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
with:
lfs: ${{ inputs.lfs }}

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

- id: local-workflow-actions
uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
with:
actions-path: actions

- uses: actions/create-github-app-token@7bd03711494f032dfa3be3558f7dc8787b0be333 # v3.1.0
if: inputs.build-secret-github-app-id
- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
if: inputs.build-secret-github-app-client-id
id: generate-token
with:
app-id: ${{ inputs.build-secret-github-app-id }}
client-id: ${{ inputs.build-secret-github-app-client-id }}
owner: ${{ inputs.build-secret-github-app-owner }}
private-key: ${{ secrets.build-secret-github-app-key }}

Expand Down Expand Up @@ -452,12 +452,12 @@ 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@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
- uses: hoverkraft-tech/ci-github-common/actions/set-matrix-output@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
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@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
- 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
Expand All @@ -476,7 +476,7 @@ jobs:
built-images: ${{ steps.create-images-manifests.outputs.built-images }}
steps:
- id: get-matrix-outputs
uses: hoverkraft-tech/ci-github-common/actions/get-matrix-outputs@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
uses: hoverkraft-tech/ci-github-common/actions/get-matrix-outputs@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
with:
artifact-name: ${{ needs.prepare-variables.outputs.artifact-name }}

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

- id: local-workflow-actions
uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
with:
actions-path: actions

Expand Down Expand Up @@ -551,7 +551,7 @@ jobs:
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@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
- 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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prune-pull-requests-images-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
id-token: write # Needed for getting local workflow actions
steps:
- id: local-workflow-actions
uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
with:
actions-path: actions

Expand All @@ -118,7 +118,7 @@ jobs:
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@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
- 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
Expand Down
8 changes: 4 additions & 4 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@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
- uses: hoverkraft-tech/ci-github-common/actions/local-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
with:
source-path: ${{ github.action_path }}/../..

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

Expand Down Expand Up @@ -303,15 +303,15 @@ runs:

# Caching setup
- id: cache-arguments
uses: int128/docker-build-cache-config-action@4788c7e22b9923ca0e44bc7a29281b5beb545e5d # v1.49.0
uses: int128/docker-build-cache-config-action@b9cedacdde83a8248370324699c840b9a383d965 # v1.52.0
with:
image: ${{ steps.get-docker-config.outputs.cache-image }}
flavor: ${{ steps.get-docker-config.outputs.cache-flavor }}
pull-request-cache: true
cache-type: ${{ inputs.cache-type }}
extra-cache-to: "image-manifest=true,oci-mediatypes=true"

- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
id: cache
with:
path: cache-mount
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@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
- uses: hoverkraft-tech/ci-github-common/actions/local-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
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@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
- uses: hoverkraft-tech/ci-github-common/actions/local-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
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@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
uses: hoverkraft-tech/ci-github-common/actions/get-issue-number@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2

- 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@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
- uses: hoverkraft-tech/ci-github-common/actions/local-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
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@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
uses: hoverkraft-tech/ci-github-common/actions/repository-owner-is-organization@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2

- id: get-tags-to-delete
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
Expand Down
20 changes: 10 additions & 10 deletions actions/helm/generate-docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ inputs:
- contents: write
- pull-requests: write
default: ${{ github.token }}
github-app-id:
github-app-client-id:
description: |
GitHub App ID to generate GitHub token in place of github-token.
GitHub App client ID to generate GitHub token in place of github-token.
See https://github.com/actions/create-github-app-token.
required: false
github-app-key:
Expand Down Expand Up @@ -129,7 +129,7 @@ runs:
}
core.setOutput("markdownlint-config-path", markdownlintConfigPath);

- uses: hoverkraft-tech/ci-github-common/actions/checkout@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
- uses: hoverkraft-tech/ci-github-common/actions/checkout@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2

- uses: losisin/helm-docs-github-action@2ccf3e77eb70dc80d62f8cc26f15d0a96b75fef4 # v1.8.0
with:
Expand All @@ -142,13 +142,13 @@ runs:
working-directory: ${{ steps.prepare-variables.outputs.working-directory }}

- name: Setup Node.js
uses: hoverkraft-tech/ci-github-nodejs/actions/setup-node@775ce0902c528062cc94141dd7d13261083b752a # 0.22.0
uses: hoverkraft-tech/ci-github-nodejs/actions/setup-node@9d465a03741b287db18b242e0ec46990888cc6a3 # 0.23.0
with:
working-directory: ${{ github.action_path }}

- name: Cache textlint
id: cache-textlint
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: ${{ steps.prepare-variables.outputs.textlint-cache-path }}
key: ${{ runner.os }}-textlint-${{ hashFiles(steps.prepare-variables.outputs.textlint-config-path) }}
Expand Down Expand Up @@ -194,7 +194,7 @@ runs:

- name: Cache prettier
id: cache-prettier
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: ${{ steps.prepare-variables.outputs.prettier-cache-path }}
key: ${{ runner.os }}-prettier
Expand Down Expand Up @@ -224,14 +224,14 @@ runs:
cwd: process.env.WORKING_DIRECTORY,
});

- uses: actions/create-github-app-token@7bd03711494f032dfa3be3558f7dc8787b0be333 # v3.1.0
if: inputs.github-app-id
- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
if: inputs.github-app-client-id
id: generate-token
with:
app-id: ${{ inputs.github-app-id }}
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@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
- uses: hoverkraft-tech/ci-github-common/actions/create-and-merge-pull-request@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
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
6 changes: 3 additions & 3 deletions 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@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
- uses: hoverkraft-tech/ci-github-common/actions/checkout@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2

- id: chart-values-updates
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
Expand Down Expand Up @@ -182,13 +182,13 @@ runs:

core.setOutput('yq-command', yqCommands.join('\n'));

- uses: mikefarah/yq@0f4fb8d35ec1a939d78dd6862f494d19ec589f19 # v4.52.5
- uses: mikefarah/yq@751d8ad57b84f1794661bc70c0afb92a22ad7b3c # v4.53.2
with:
cmd: |
${{ steps.chart-values-updates.outputs.yq-command }}

- name: Setup Node.js
uses: hoverkraft-tech/ci-github-nodejs/actions/setup-node@775ce0902c528062cc94141dd7d13261083b752a # 0.22.0
uses: hoverkraft-tech/ci-github-nodejs/actions/setup-node@9d465a03741b287db18b242e0ec46990888cc6a3 # 0.23.0
with:
working-directory: ${{ github.action_path }}

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@03a5a2a3626b03434b19b79cdd2e141bea410bae # 0.34.1
- uses: hoverkraft-tech/ci-github-common/actions/checkout@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
with:
fetch-depth: 0

Expand Down
Loading