Skip to content

Commit 03194d5

Browse files
Fix minor mistake in release YAML (#387)
1 parent d22eb04 commit 03194d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Release
22

33
env:
4-
GH_TOKEN: ${{ github.token }}
4+
GITHUB_TOKEN: ${{ secrets.TAG_PR_TOKEN }}
55

66
on:
77
workflow_dispatch:

utils/publish-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ git add ../README.md
5252
git commit -m "[v$new_version] $RELEASE_TITLE"
5353

5454
# # push the commit and create a PR
55-
git push -u "https://${GITHUB_ACTOR}:${GH_TOKEN}@github.com/aws/aws-iot-device-sdk-python-v2.git" ${new_version_branch}
55+
git push -u "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/aws/aws-iot-device-sdk-python-v2.git" ${new_version_branch}
5656
gh pr create --title "AutoTag PR for v${new_version}" --body "AutoTag PR for v${new_version}" --head ${new_version_branch}
5757

5858
# # Merge the PR

0 commit comments

Comments
 (0)