Skip to content

Commit d4c6696

Browse files
author
Lucas McDonald
committed
m
1 parent 628f323 commit d4c6696

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/prod-release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Release
2+
permissions:
3+
contents: read
24

35
on:
46
# TODO: remove pull_request once tested in PR
@@ -215,8 +217,7 @@ jobs:
215217
run: |
216218
git config --global user.name "aws-crypto-tools-ci-bot"
217219
git config --global user.email "no-reply@noemail.local"
218-
# TODO: Uncomment when adding publish step
219-
# git checkout $BRANCH # Commented out to test on current branch
220+
git checkout ${{ github.head_ref }} # Use PR branch or current branch
220221
221222
- name: Version packages (dry run - no push)
222223
run: |

0 commit comments

Comments
 (0)