Skip to content

Commit 2fa562b

Browse files
committed
ci: use publish 3.0.4 and centralize fork handling
1 parent f44e1bc commit 2fa562b

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

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

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

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

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

1111
jobs:
1212
release:
13-
if: github.event.pull_request.head.repo.full_name == github.repository
14-
uses: hoverkraft-tech/ci-github-publish/.github/workflows/prepare-release.yml@5b821495b1c3b68eb2e7fba71992dfe851612ae6 # 3.0.3
13+
uses: hoverkraft-tech/ci-github-publish/.github/workflows/prepare-release.yml@78a540b1bf0b18dd2f160c98943f61eefb03e8b9 # 3.0.4
1514
permissions:
1615
contents: read
1716
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:

0 commit comments

Comments
 (0)