Skip to content

Commit f0049ac

Browse files
committed
build(deps): update shared CI and release workflows
1 parent ae4b50c commit f0049ac

5 files changed

Lines changed: 12 additions & 12 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
release:
2828
needs: ci
2929
if: github.event_name != 'schedule'
30-
uses: hoverkraft-tech/ci-github-publish/.github/workflows/release-actions.yml@d983bd6279de308518b8b8df7c51e179fd50bffb # 2.1.0
30+
uses: hoverkraft-tech/ci-github-publish/.github/workflows/release-actions.yml@b942fb00f3115ca70f98f45f2289cc9838eb9312 # 3.0.0
3131
permissions:
3232
contents: read
3333
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@f0baf63a8aa2bcfe9847aee00d1fdfa5e32a749a # 2.0.0
17+
uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@90211d735aa0289702ddbd7eb95b218020ccadad # 2.0.2

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
permissions: {}
55
jobs:
66
linter:
7-
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@f0baf63a8aa2bcfe9847aee00d1fdfa5e32a749a # 2.0.0
7+
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@90211d735aa0289702ddbd7eb95b218020ccadad # 2.0.2
88
permissions:
99
contents: read
1010
statuses: write

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,17 @@ jobs:
4848
}
4949
- id: plan
5050
if: "!startsWith(github.ref, 'refs/tags/')"
51-
uses: hoverkraft-tech/ci-github-publish/actions/release/plan@d983bd6279de308518b8b8df7c51e179fd50bffb # 2.1.0
51+
uses: hoverkraft-tech/ci-github-publish/actions/release/plan@b942fb00f3115ca70f98f45f2289cc9838eb9312 # 3.0.0
5252
with:
53-
release-config: ${{ inputs.release-config }}
54-
target-sha: ${{ github.sha }}
53+
config-overrides: ${{ inputs.release-config }}
54+
target-ref: ${{ github.sha }}
5555
force: ${{ github.event_name == 'workflow_dispatch' && inputs.force }}
5656
- id: identity
5757
name: Check Composer version format
5858
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
5959
env:
6060
TAG: ${{ steps.plan.outputs.tag }}
61-
HAS_CHANGES: ${{ steps.plan.outputs.has-changes }}
61+
HAS_CHANGES: ${{ steps.plan.outputs.should-release }}
6262
with:
6363
script: |-
6464
const retry = context.ref.startsWith('refs/tags/');
@@ -70,7 +70,7 @@ jobs:
7070
core.setOutput('tag', tag);
7171
- id: verify
7272
if: steps.identity.outputs.has-changes == 'true'
73-
uses: hoverkraft-tech/ci-github-publish/actions/release/verify@d983bd6279de308518b8b8df7c51e179fd50bffb # 2.1.0
73+
uses: hoverkraft-tech/ci-github-publish/actions/release/verify@b942fb00f3115ca70f98f45f2289cc9838eb9312 # 3.0.0
7474
with:
7575
tags: ${{ format('["{0}"]', steps.identity.outputs.tag) }}
7676
require-tags: ${{ startsWith(github.ref, 'refs/tags/') }}

‎.github/workflows/release.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ jobs:
173173
throw new Error('Declare a public Composer package without a hardcoded version.');
174174
}
175175
- id: verify
176-
uses: hoverkraft-tech/ci-github-publish/actions/release/verify@d983bd6279de308518b8b8df7c51e179fd50bffb # 2.1.0
176+
uses: hoverkraft-tech/ci-github-publish/actions/release/verify@b942fb00f3115ca70f98f45f2289cc9838eb9312 # 3.0.0
177177
with:
178178
tags: ${{ format('["{0}"]', inputs.tag) }}
179179
require-tags: ${{ startsWith(github.ref, 'refs/tags/') }}
@@ -187,9 +187,9 @@ jobs:
187187
contents: write
188188
pull-requests: read
189189
steps:
190-
- uses: hoverkraft-tech/ci-github-publish/actions/release/create@d983bd6279de308518b8b8df7c51e179fd50bffb # 2.1.0
190+
- uses: hoverkraft-tech/ci-github-publish/actions/release/create@b942fb00f3115ca70f98f45f2289cc9838eb9312 # 3.0.0
191191
with:
192192
tag: ${{ inputs.tag }}
193-
target-sha: ${{ github.sha }}
194-
release-config: ${{ inputs.release-config }}
193+
target-ref: ${{ github.sha }}
194+
config-overrides: ${{ inputs.release-config }}
195195
changelog-summary: ${{ secrets.changelog-summary || inputs.changelog-summary }}

0 commit comments

Comments
 (0)