Skip to content

Commit 5a82e2c

Browse files
committed
ci: align actions and workflows with current stable releases
1 parent e00a870 commit 5a82e2c

23 files changed

Lines changed: 61 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@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0
13+
uses: hoverkraft-tech/ci-github-common/.github/workflows/greetings.yml@2fa562bd44f9e752a99a374c85ae14644e7f2bdd # 4.2.2
1414
permissions:
1515
contents: read
1616
issues: write

‎.github/workflows/__main-ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
release:
3636
needs: ci
3737
if: github.event_name != 'schedule'
38-
uses: hoverkraft-tech/ci-github-publish/.github/workflows/release-actions.yml@5b821495b1c3b68eb2e7fba71992dfe851612ae6 # 3.0.3
38+
uses: hoverkraft-tech/ci-github-publish/.github/workflows/release-actions.yml@78a540b1bf0b18dd2f160c98943f61eefb03e8b9 # 3.0.4
3939
permissions:
4040
contents: read
4141
with:

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

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

1919
jobs:
2020
main:
21-
uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0
21+
uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@2fa562bd44f9e752a99a374c85ae14644e7f2bdd # 4.2.2
2222
permissions:
2323
contents: read
2424
issues: write
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
name: Internal - Prepare release
22

33
on:
4-
push:
5-
branches: [main]
64
pull_request:
75
types: [opened, reopened, synchronize, edited]
86

97
permissions: {}
108

119
jobs:
1210
release:
13-
uses: hoverkraft-tech/ci-github-publish/.github/workflows/prepare-release.yml@5b821495b1c3b68eb2e7fba71992dfe851612ae6 # 3.0.3
11+
uses: hoverkraft-tech/ci-github-publish/.github/workflows/prepare-release.yml@78a540b1bf0b18dd2f160c98943f61eefb03e8b9 # 3.0.4
1412
permissions:
1513
contents: read
1614
pull-requests: write

‎.github/workflows/__release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ jobs:
5353

5454
- name: Plan release
5555
id: plan-release
56-
uses: hoverkraft-tech/ci-github-publish/actions/release/plan@5b821495b1c3b68eb2e7fba71992dfe851612ae6 # 3.0.3
56+
uses: hoverkraft-tech/ci-github-publish/actions/release/plan@78a540b1bf0b18dd2f160c98943f61eefb03e8b9 # 3.0.4
5757
with:
5858
target-ref: ${{ github.sha }}
5959
force: ${{ github.event_name == 'workflow_dispatch' && inputs.force }}
6060
github-token: ${{ steps.generate-token.outputs.token }}
6161

6262
- name: Create and publish release
6363
if: steps.plan-release.outputs.should-release == 'true' && steps.plan-release.outputs.tag != ''
64-
uses: hoverkraft-tech/ci-github-publish/actions/release/create@5b821495b1c3b68eb2e7fba71992dfe851612ae6 # 3.0.3
64+
uses: hoverkraft-tech/ci-github-publish/actions/release/create@78a540b1bf0b18dd2f160c98943f61eefb03e8b9 # 3.0.4
6565
env:
6666
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} # zizmor: ignore[secrets-outside-env] repository secret is scoped to the release summary step
6767
with:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ jobs:
1414
main:
1515
permissions:
1616
contents: read
17-
uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0
17+
uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@2fa562bd44f9e752a99a374c85ae14644e7f2bdd # 4.2.2

‎.github/workflows/__shared-ci.yml‎

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ on:
66
permissions: {}
77

88
jobs:
9-
linter:
10-
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0
9+
lint:
10+
name: linter
11+
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@2fa562bd44f9e752a99a374c85ae14644e7f2bdd # 4.2.2
1112
permissions:
1213
actions: read
1314
contents: read
@@ -16,6 +17,8 @@ jobs:
1617
pull-requests: write
1718
security-events: write
1819
statuses: write
20+
with:
21+
comment: false
1922

2023
test-release:
2124
name: Test release preparation and recovery
@@ -30,64 +33,64 @@ jobs:
3033

3134
test-action-dependencies-cache:
3235
name: Test action "dependencies-cache"
33-
needs: linter
36+
needs: lint
3437
uses: $/.github/workflows/__test-action-dependencies-cache.yml
3538
permissions:
3639
contents: read
3740

3841
test-action-get-package-manager:
3942
name: Test action "get-package-manager"
40-
needs: linter
43+
needs: lint
4144
uses: $/.github/workflows/__test-action-get-package-manager.yml
4245
permissions:
4346
contents: read
4447

4548
test-action-has-installed-dependencies:
4649
name: Test action "has-installed-dependencies"
47-
needs: linter
50+
needs: lint
4851
uses: $/.github/workflows/__test-action-has-installed-dependencies.yml
4952
permissions:
5053
contents: read
5154

5255
test-action-package-create:
5356
name: Test action "package/create"
54-
needs: linter
57+
needs: lint
5558
uses: $/.github/workflows/__test-action-package-create.yml
5659
permissions:
5760
contents: read
5861

5962
test-action-package-test:
6063
name: Test action "package/test"
61-
needs: linter
64+
needs: lint
6265
uses: $/.github/workflows/__test-action-package-test.yml
6366
permissions:
6467
contents: read
6568

6669
test-action-package-discover:
6770
name: Test action "package/discover"
68-
needs: linter
71+
needs: lint
6972
uses: $/.github/workflows/__test-action-package-discover.yml
7073
permissions:
7174
contents: read
7275

7376
test-action-setup-node:
7477
name: Test action "setup-node"
75-
needs: linter
78+
needs: lint
7679
uses: $/.github/workflows/__test-action-setup-node.yml
7780
permissions:
7881
contents: read
7982

8083
test-action-package-publish:
8184
name: Test action "package/publish"
82-
needs: linter
85+
needs: lint
8386
uses: $/.github/workflows/__test-action-package-publish.yml
8487
permissions:
8588
actions: read
8689
contents: read
8790

8891
test-workflow-continuous-integration:
8992
name: Test workflow "continuous-integration"
90-
needs: linter
93+
needs: lint
9194
uses: $/.github/workflows/__test-workflow-continuous-integration.yml
9295
permissions:
9396
actions: read
@@ -100,13 +103,23 @@ jobs:
100103
security-events: write
101104

102105
test-action-test:
103-
needs: linter
106+
needs: lint
104107
uses: $/.github/workflows/__test-action-test.yml
105108
permissions:
106109
contents: read
107110

108111
test-action-lint:
109-
needs: linter
112+
needs: lint
110113
uses: $/.github/workflows/__test-action-lint.yml
111114
permissions:
112115
contents: read
116+
117+
reports:
118+
needs: [lint, test-release]
119+
if: always()
120+
uses: hoverkraft-tech/ci-github-common/.github/workflows/ci-reports.yml@2fa562bd44f9e752a99a374c85ae14644e7f2bdd # 4.2.2
121+
permissions:
122+
contents: read
123+
pull-requests: write
124+
with:
125+
job-results: ${{ toJSON(needs) }}

‎.github/workflows/__stale.yml‎

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

99
jobs:
1010
main:
11-
uses: hoverkraft-tech/ci-github-common/.github/workflows/stale.yml@66882b24f9f13e45a6541896a5a7c638cb91c94c # 4.0.0
11+
uses: hoverkraft-tech/ci-github-common/.github/workflows/stale.yml@2fa562bd44f9e752a99a374c85ae14644e7f2bdd # 4.2.2
1212
permissions:
1313
issues: write
1414
pull-requests: write

‎.github/workflows/__test-release.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
security-events: write
2323
with:
2424
working-directory: actions/${{ matrix.action }}
25-
build: null
26-
lint: null
27-
test: '{ "coverage": null }'
25+
build: ""
26+
lint: ""
27+
test: '{ "comment": false, "report-group": "test-release" }'
2828

2929
integration-tests:
3030
name: Test release action inputs, outputs and failures

‎.github/workflows/__test-workflow-continuous-integration.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ jobs:
363363
issues: read
364364
packages: write
365365
pull-requests: read
366-
uses: hoverkraft-tech/ci-github-container/.github/workflows/docker-build-images.yml@ec1cd960fb1a1908ac21680756eb49a4c8f018d5 # 0.40.0
366+
uses: hoverkraft-tech/ci-github-container/.github/workflows/docker-build-images.yml@d6569ca423f29f68152ee561f51f7de0c08db709 # 1.0.0
367367
with:
368368
sign: false
369369
attest: false

0 commit comments

Comments
 (0)