Skip to content

Commit f870528

Browse files
chore(workflow): add input to checkout
Reference: actions/checkout#439 zowe-actions/octorelease#34
1 parent 85b4ff0 commit f870528

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
- name: Checkout
1818
uses: actions/checkout@v3
1919
with:
20+
# this allow the workflow to be rerun after changes have been pushed from previous jobs
21+
ref: ${{ github.ref }}
2022
# an ad-hoc token (PAT) is need in order to permit the "push" to a protected branch (in this case 'main')
2123
# persist-credentials must be true and the same token is used in semantic-release step
2224
token: ${{ secrets.SEMANTICRELEASE }}

0 commit comments

Comments
 (0)