We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a38cfe commit 16ce67fCopy full SHA for 16ce67f
.github/workflows/release-prepare.yml
@@ -5,6 +5,7 @@ on:
5
branches: [ develop ]
6
7
env:
8
+ GITHUB_USERNAME: codeforphilly-bot
9
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
10
RELEASE_BRANCH: releases/v1
11
@@ -42,7 +43,7 @@ jobs:
42
43
44
if [ -n "${pr_number}" ]; then
45
echo "Updating PR #${pr_number}"
- existing_comment_id=$(hub api "/repos/${GITHUB_REPOSITORY}/issues/${pr_number}/comments" | jq '.[] | select(.user.login=="jarvus-bot") | .id')
46
+ existing_comment_id=$(hub api "/repos/${GITHUB_REPOSITORY}/issues/${pr_number}/comments" | jq '.[] | select(.user.login=="${GITHUB_USERNAME}") | .id')
47
else
48
echo "Opening PR"
49
hub pull-request -b "${RELEASE_BRANCH}" -h develop -F <(echo "${pr_body}") > /tmp/pr.json
0 commit comments