Skip to content

Commit fa8a9ee

Browse files
committed
chore(deps): upgrade ci-github-common to 0.35.0
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
1 parent 8e4c890 commit fa8a9ee

15 files changed

Lines changed: 32 additions & 50 deletions

File tree

.github/workflows/__greetings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions: {}
1010

1111
jobs:
1212
greetings:
13-
uses: hoverkraft-tech/ci-github-common/.github/workflows/greetings.yml@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
13+
uses: hoverkraft-tech/ci-github-common/.github/workflows/greetings.yml@918c45b82b0f52fb4c9c6e630a2c50187b1684fe # local-action-support-reusable-workflows
1414
permissions:
1515
contents: read
1616
issues: write

.github/workflows/__need-fix-to-issue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ permissions: {}
2121

2222
jobs:
2323
main:
24-
uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
24+
uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@918c45b82b0f52fb4c9c6e630a2c50187b1684fe # local-action-support-reusable-workflows
2525
permissions:
2626
contents: read
2727
issues: write

.github/workflows/__semantic-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions: {}
1212

1313
jobs:
1414
main:
15-
uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
15+
uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@918c45b82b0f52fb4c9c6e630a2c50187b1684fe # local-action-support-reusable-workflows
1616
permissions:
1717
contents: write
1818
pull-requests: write

.github/workflows/__shared-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ permissions:
1616

1717
jobs:
1818
linter:
19-
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
19+
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@918c45b82b0f52fb4c9c6e630a2c50187b1684fe # local-action-support-reusable-workflows
2020

2121
test-action-docker-build-image:
2222
needs: linter

.github/workflows/__stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions: {}
99

1010
jobs:
1111
main:
12-
uses: hoverkraft-tech/ci-github-common/.github/workflows/stale.yml@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
12+
uses: hoverkraft-tech/ci-github-common/.github/workflows/stale.yml@918c45b82b0f52fb4c9c6e630a2c50187b1684fe # local-action-support-reusable-workflows
1313
permissions:
1414
issues: write
1515
pull-requests: write

.github/workflows/docker-build-images.yml

Lines changed: 9 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -370,9 +370,8 @@ jobs:
370370
pull-requests: read
371371
issues: read
372372
packages: write
373-
id-token: write # Needed for getting local workflow actions
374373
steps:
375-
- uses: hoverkraft-tech/ci-github-common/actions/checkout@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
374+
- uses: hoverkraft-tech/ci-github-common/actions/checkout@918c45b82b0f52fb4c9c6e630a2c50187b1684fe # local-action-support-reusable-workflows
376375
with:
377376
lfs: ${{ inputs.lfs }}
378377

@@ -381,7 +380,7 @@ jobs:
381380
run: git lfs pull
382381

383382
- id: local-workflow-actions
384-
uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
383+
uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@918c45b82b0f52fb4c9c6e630a2c50187b1684fe # local-action-support-reusable-workflows
385384
with:
386385
actions-path: actions
387386

@@ -431,7 +430,7 @@ jobs:
431430
core.setOutput('secret-envs', secretEnvs.trim());
432431
433432
- id: build
434-
uses: ./self-workflow/actions/docker/build-image
433+
uses: ./../self-workflow/actions/docker/build-image
435434
with:
436435
oci-registry: ${{ inputs.oci-registry }}
437436
oci-registry-username: ${{ inputs.oci-registry-username }}
@@ -452,31 +451,24 @@ jobs:
452451

453452
# FIXME: Set built images infos in file to be uploaded as artifacts, because github action does not handle job outputs for matrix
454453
# https://github.com/orgs/community/discussions/26639
455-
- uses: hoverkraft-tech/ci-github-common/actions/set-matrix-output@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
454+
- uses: hoverkraft-tech/ci-github-common/actions/set-matrix-output@918c45b82b0f52fb4c9c6e630a2c50187b1684fe # local-action-support-reusable-workflows
456455
with:
457456
artifact-name: ${{ needs.prepare-variables.outputs.artifact-name }}
458457
value: ${{ steps.build.outputs.built-image }}
459458

460-
- uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
461-
if: always() && steps.local-workflow-actions.outputs.repository
462-
with:
463-
actions-path: actions
464-
repository: ${{ steps.local-workflow-actions.outputs.repository }}
465-
ref: ${{ steps.local-workflow-actions.outputs.ref }}
466-
467459
publish-manifests:
468460
name: Publish images manifests
469461
permissions:
470462
contents: read
471463
packages: write
472-
id-token: write # Needed for getting local workflow actions
464+
id-token: write # Needed for signing images
473465
needs: [prepare-variables, build-images]
474466
runs-on: ${{ fromJson(inputs.runs-on) }}
475467
outputs:
476468
built-images: ${{ steps.create-images-manifests.outputs.built-images }}
477469
steps:
478470
- id: get-matrix-outputs
479-
uses: hoverkraft-tech/ci-github-common/actions/get-matrix-outputs@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
471+
uses: hoverkraft-tech/ci-github-common/actions/get-matrix-outputs@918c45b82b0f52fb4c9c6e630a2c50187b1684fe # local-action-support-reusable-workflows
480472
with:
481473
artifact-name: ${{ needs.prepare-variables.outputs.artifact-name }}
482474

@@ -514,12 +506,12 @@ jobs:
514506
core.setOutput('built-images', JSON.stringify(images));
515507
516508
- id: local-workflow-actions
517-
uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
509+
uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@918c45b82b0f52fb4c9c6e630a2c50187b1684fe # local-action-support-reusable-workflows
518510
with:
519511
actions-path: actions
520512

521513
- id: create-images-manifests
522-
uses: ./self-workflow/actions/docker/create-images-manifests
514+
uses: ./../self-workflow/actions/docker/create-images-manifests
523515
with:
524516
oci-registry: ${{ inputs.oci-registry }}
525517
oci-registry-username: ${{ inputs.oci-registry-username }}
@@ -545,15 +537,8 @@ jobs:
545537
const imagesToSign = Object.values(builtImages).map(image => image.images).flat();
546538
core.setOutput('images-to-sign', JSON.stringify(imagesToSign));
547539
548-
- uses: ./self-workflow/actions/docker/sign-images
540+
- uses: ./../self-workflow/actions/docker/sign-images
549541
if: steps.get-images-to-sign.outputs.images-to-sign
550542
with:
551543
images: ${{ steps.get-images-to-sign.outputs.images-to-sign }}
552544
github-token: ${{ secrets.GITHUB_TOKEN }}
553-
554-
- uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
555-
if: always() && steps.local-workflow-actions.outputs.repository
556-
with:
557-
actions-path: actions
558-
repository: ${{ steps.local-workflow-actions.outputs.repository }}
559-
ref: ${{ steps.local-workflow-actions.outputs.ref }}

.github/workflows/prune-pull-requests-images-tags.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -104,23 +104,15 @@ jobs:
104104
contents: read
105105
pull-requests: read
106106
packages: write
107-
id-token: write # Needed for getting local workflow actions
108107
steps:
109108
- id: local-workflow-actions
110-
uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
109+
uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@918c45b82b0f52fb4c9c6e630a2c50187b1684fe # local-action-support-reusable-workflows
111110
with:
112111
actions-path: actions
113112

114113
- id: build
115-
uses: ./self-workflow/actions/docker/prune-pull-requests-image-tags
114+
uses: ./../self-workflow/actions/docker/prune-pull-requests-image-tags
116115
with:
117116
image: ${{ matrix.image }}
118117
pull-request-tag-filter: ${{ inputs.pull-request-tag-filter }}
119118
preserve-tags-filter: ${{ inputs.preserve-tags-filter }}
120-
121-
- uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
122-
if: always() && steps.local-workflow-actions.outputs.repository
123-
with:
124-
actions-path: actions
125-
repository: ${{ steps.local-workflow-actions.outputs.repository }}
126-
ref: ${{ steps.local-workflow-actions.outputs.ref }}

actions/docker/build-image/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,12 @@ outputs:
149149
runs:
150150
using: "composite"
151151
steps:
152-
- uses: hoverkraft-tech/ci-github-common/actions/local-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
152+
- uses: hoverkraft-tech/ci-github-common/actions/local-actions@918c45b82b0f52fb4c9c6e630a2c50187b1684fe # local-action-support-reusable-workflows
153153
with:
154154
source-path: ${{ github.action_path }}/../..
155155

156156
- id: slugify-platform
157-
uses: hoverkraft-tech/ci-github-common/actions/slugify@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
157+
uses: hoverkraft-tech/ci-github-common/actions/slugify@918c45b82b0f52fb4c9c6e630a2c50187b1684fe # local-action-support-reusable-workflows
158158
with:
159159
value: ${{ inputs.platform }}
160160

actions/docker/create-images-manifests/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ outputs:
9696
runs:
9797
using: "composite"
9898
steps:
99-
- uses: hoverkraft-tech/ci-github-common/actions/local-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
99+
- uses: hoverkraft-tech/ci-github-common/actions/local-actions@918c45b82b0f52fb4c9c6e630a2c50187b1684fe # local-action-support-reusable-workflows
100100
with:
101101
source-path: ${{ github.action_path }}/../..
102102

actions/docker/get-image-metadata/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ runs:
4646
steps:
4747
# #region Prepare build variables
4848

49-
- uses: hoverkraft-tech/ci-github-common/actions/local-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
49+
- uses: hoverkraft-tech/ci-github-common/actions/local-actions@918c45b82b0f52fb4c9c6e630a2c50187b1684fe # local-action-support-reusable-workflows
5050
with:
5151
source-path: ${{ github.action_path }}/../..
5252

@@ -59,7 +59,7 @@ runs:
5959

6060
- id: get-issue-number
6161
if: inputs.tag == '' && (github.event_name == 'pull_request' || github.event_name == 'pull_request_review' || github.event_name == 'issue_comment')
62-
uses: hoverkraft-tech/ci-github-common/actions/get-issue-number@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
62+
uses: hoverkraft-tech/ci-github-common/actions/get-issue-number@918c45b82b0f52fb4c9c6e630a2c50187b1684fe # local-action-support-reusable-workflows
6363

6464
- id: define-metadata-inputs
6565
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0

0 commit comments

Comments
 (0)