Skip to content

Commit 63a8f5c

Browse files
committed
SK-2174 Fix failure in checkout step
1 parent dd44886 commit 63a8f5c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ jobs:
1919
build-and-deploy:
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2323
with:
2424
token: ${{ secrets.PAT_ACTIONS }}
25-
ref: ${{ github.event.inputs.branch }}
25+
repository: ${{ github.repository }}
26+
ref: ${{ github.event.inputs.branch || github.ref }}
2627
fetch-depth: 0
2728

2829
- uses: actions/setup-python@v2

0 commit comments

Comments
 (0)