Skip to content

Commit f4a01b2

Browse files
committed
ci: align actions and workflows with current stable releases
1 parent 46b7ffc commit f4a01b2

11 files changed

Lines changed: 28 additions & 17 deletions

‎.commitlintrc.json‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"extends": ["@commitlint/config-conventional"],
3+
"rules": {
4+
"subject-case": [
5+
1,
6+
"never",
7+
["sentence-case", "start-case", "pascal-case", "upper-case"]
8+
],
9+
"header-max-length": [1, "always", 100],
10+
"body-max-line-length": [1, "always", 100],
11+
"footer-max-line-length": [1, "always", 100]
12+
}
13+
}

‎.github/workflows/__check-action.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ jobs:
191191

192192
- name: Set up Docker context
193193
if: ${{ matrix.docker-context }}
194-
uses: docker/setup-docker-action@2bf61fb9464cc67f0cbdeabed6aa0380accd1c70 # v5.5.0
194+
uses: docker/setup-docker-action@3f1ab1ab0e29231562e4db4ca600c1a49653bac6 # v5.7.0
195195
with:
196196
context: ${{ matrix.docker-context }}
197197

‎.github/workflows/__check-dist.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
persist-credentials: false
1818

1919
- id: setup-node
20-
uses: hoverkraft-tech/ci-github-nodejs/actions/setup-node@df348077afa4e79725151d50606e9dc63f86dcb6 # 0.24.4
20+
uses: hoverkraft-tech/ci-github-nodejs/actions/setup-node@a60704c5e9902675a1b4a5141411d95733e80ff5 # 3.0.2
2121

2222
- name: Build dist/ Directory
2323
id: package

‎.github/workflows/__check-nodejs.yml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ permissions: {}
77

88
jobs:
99
test-nodejs:
10-
uses: hoverkraft-tech/ci-github-nodejs/.github/workflows/continuous-integration.yml@df348077afa4e79725151d50606e9dc63f86dcb6 # 0.24.4
10+
uses: hoverkraft-tech/ci-github-nodejs/.github/workflows/continuous-integration.yml@a60704c5e9902675a1b4a5141411d95733e80ff5 # 3.0.2
1111
permissions:
1212
contents: read
1313
id-token: write
@@ -16,5 +16,4 @@ jobs:
1616
security-events: write
1717
with:
1818
build: ""
19-
test: |
20-
{"coverage":"codecov"}
19+
test: '{ "coverage": "codecov" }'

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

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

88
jobs:
99
linter:
10-
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@90211d735aa0289702ddbd7eb95b218020ccadad # 2.0.2
10+
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@f44e1bcc350b6bfe9e4a86a27b1d5e032e58f292 # 4.2.1
1111
permissions:
1212
actions: read
1313
contents: read

‎.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@3a27d31e9ccefbe9609cc9165017ed100ff34a22 # 0.38.0
13+
uses: hoverkraft-tech/ci-github-common/.github/workflows/greetings.yml@f44e1bcc350b6bfe9e4a86a27b1d5e032e58f292 # 4.2.1
1414
permissions:
1515
contents: read
1616
issues: write

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
- name: 📖 Generate documentation
4646
id: generate-documentation
47-
uses: hoverkraft-tech/ci-dokumentor@f86631afb5e23eafaf68be94d38a4d4b48f3fa9a # 0.5.0
47+
uses: hoverkraft-tech/ci-dokumentor@f4ef352022353a38b944e6d46a8fb458a9f6d06f # 0.6.0
4848
with:
4949
source: action.yml
5050
# yamllint disable rule:line-length
@@ -61,15 +61,15 @@ jobs:
6161
}
6262
]
6363
64-
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
64+
- uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
6565
id: generate-token
6666
with:
6767
client-id: ${{ vars.CI_BOT_APP_CLIENT_ID }}
6868
private-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }} # zizmor: ignore[secrets-outside-env] repository automation uses a dedicated app secret without untrusted code execution
6969
permission-contents: write
7070
permission-pull-requests: write
7171

72-
- uses: hoverkraft-tech/ci-github-common/actions/create-and-merge-pull-request@3a27d31e9ccefbe9609cc9165017ed100ff34a22 # 0.38.0
72+
- uses: hoverkraft-tech/ci-github-common/actions/create-and-merge-pull-request@f44e1bcc350b6bfe9e4a86a27b1d5e032e58f292 # 4.2.1
7373
with:
7474
github-token: ${{ steps.generate-token.outputs.token }}
7575
branch: docs/actions-workflows-documentation-update
@@ -82,7 +82,7 @@ jobs:
8282
[skip ci]
8383
8484
- id: upload-artifact
85-
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
85+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
8686
with:
8787
name: documentation-files-${{ github.run_id }}
8888
path: |

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

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

2121
jobs:
2222
main:
23-
uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@3a27d31e9ccefbe9609cc9165017ed100ff34a22 # 0.38.0
23+
uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@f44e1bcc350b6bfe9e4a86a27b1d5e032e58f292 # 4.2.1
2424
permissions:
2525
contents: read
2626
issues: write

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
name: "Prepare release"
33

44
on:
5-
push:
6-
branches: [main]
75
pull_request:
86
types: [opened, reopened, synchronize]
97

@@ -15,7 +13,8 @@ permissions: {}
1513

1614
jobs:
1715
release:
18-
uses: hoverkraft-tech/ci-github-publish/.github/workflows/prepare-release.yml@1ee0354c40e4cd0a46c69cbe305c74fc67338042 # 0.28.0
16+
if: github.event.pull_request.head.repo.full_name == github.repository
17+
uses: hoverkraft-tech/ci-github-publish/.github/workflows/prepare-release.yml@5b821495b1c3b68eb2e7fba71992dfe851612ae6 # 3.0.3
1918
permissions:
2019
contents: read
2120
pull-requests: write

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
main:
1414
permissions:
1515
contents: read
16-
uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@90211d735aa0289702ddbd7eb95b218020ccadad # 2.0.2
16+
uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@f44e1bcc350b6bfe9e4a86a27b1d5e032e58f292 # 4.2.1

0 commit comments

Comments
 (0)