We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a048464 commit e5073d1Copy full SHA for e5073d1
1 file changed
.github/workflows/cherry-pick-single.yml
@@ -92,7 +92,7 @@ jobs:
92
93
# Push the new branch. Force push to ensure that in case the original cherry-pick branch is stale,
94
# that the current state of the $TARGET_BRANCH + cherry-pick gets in $CHERRY_PICK_BRANCH.
95
- git push origin -f "$CHERRY_PICK_BRANCH"
+ git push "https://x-access-token:${APP_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" -f "$CHERRY_PICK_BRANCH"
96
97
# Save data for PR creation
98
echo "branch_name=$CHERRY_PICK_BRANCH" >> "$GITHUB_OUTPUT"
@@ -108,6 +108,7 @@ jobs:
108
exit 1
109
fi
110
env:
111
+ APP_TOKEN: ${{ steps.generate-token.outputs.token }}
112
INPUTS_MERGE_COMMIT_SHA: ${{ inputs.merge_commit_sha }}
113
INPUTS_VERSION_NUMBER: ${{ inputs.version_number }}
114
INPUTS_PR_NUMBER: ${{ inputs.pr_number }}
0 commit comments