Skip to content

Commit 3ed967b

Browse files
committed
ci: set-head required for publishing
1 parent 83a65a5 commit 3ed967b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/gh-publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: Copyright © 2024 Caleb Cushing
1+
# SPDX-FileCopyrightText: Copyright © 2024 - 2025 Caleb Cushing
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

@@ -7,7 +7,7 @@ on:
77
workflow_run:
88
workflows: [build]
99
types: [completed]
10-
branches: [main]
10+
branches: ["**"]
1111
tags: [v*]
1212
jobs:
1313
publish:
@@ -25,6 +25,7 @@ jobs:
2525
ref: ${{ github.event.workflow_run.head_branch}}
2626
filter: "blob:none"
2727
fetch-depth: 0
28+
- run: git remote set-head --auto origin
2829
- uses: actions/setup-java@v4
2930
with:
3031
distribution: temurin

0 commit comments

Comments
 (0)