Commit 54f3997 1 parent 7994fe8 commit 54f3997 Copy full SHA for 54f3997
File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ if [ "$VARIANT" = "" ]; then
105
105
git clean -xdf
106
106
echo " Updating docs in master branch ..."
107
107
git checkout master
108
+ git fetch origin
108
109
git reset --hard origin/master
109
110
git cherry-pick --strategy=recursive -X theirs $RELEASE_TAG
110
111
git push origin master
Original file line number Diff line number Diff line change 33
33
with :
34
34
fetch-depth : 0
35
35
token : ${{ secrets.DAPR_BOT_TOKEN }}
36
+ persist-credentials : false
36
37
- name : Set up OpenJDK ${{ env.JDK_VER }}
37
38
uses : actions/setup-java@v4
38
39
with :
43
44
sudo apt-get update
44
45
sudo apt-get install pcre2-utils
45
46
- name : Create release branch and tag
47
+ env :
48
+ GITHUB_TOKEN : ${{ secrets.DAPR_BOT_TOKEN }}
46
49
run : |
47
50
git config user.email "[email protected] "
48
51
git config user.name "Dapr Bot"
52
+ # Update origin with token
53
+ git remote set-url origin https://x-access-token:${{ secrets.DAPR_BOT_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git
49
54
# Copy first to allow automation to use the latest version and not the release branch's version.
50
55
cp -R ./.github/scripts ${RUNNER_TEMP}/
51
56
${RUNNER_TEMP}/scripts/create-release.sh ${{ inputs.rel_version }}
You can’t perform that action at this time.
0 commit comments