File tree 2 files changed +4
-9
lines changed
2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -51,20 +51,15 @@ jobs:
51
51
- name : Install @node-core/utils
52
52
run : npm install -g @node-core/utils
53
53
54
- - name : Set variables
55
- run : |
56
- echo "REPOSITORY=$(echo ${{ github.repository }} | cut -d/ -f2)" >> $GITHUB_ENV
57
- echo "OWNER=${{ github.repository_owner }}" >> $GITHUB_ENV
58
-
59
54
- name : Configure @node-core/utils
60
55
run : |
61
56
ncu-config set branch "${RELEASE_BRANCH}"
62
57
ncu-config set upstream origin
63
58
ncu-config set username "$USERNAME"
64
59
ncu-config set token "$GH_TOKEN"
65
60
ncu-config set jenkins_token "$JENKINS_TOKEN"
66
- ncu-config set repo "${REPOSITORY} "
67
- ncu-config set owner "${OWNER }"
61
+ ncu-config set repo "$(echo "$GITHUB_REPOSITORY" | cut -d/ -f2) "
62
+ ncu-config set owner "${GITHUB_REPOSITORY_OWNER }"
68
63
env :
69
64
USERNAME : ${{ secrets.JENKINS_USER }}
70
65
GH_TOKEN : ${{ secrets.GH_USER_TOKEN }}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ git node release --prepare --skipBranchDiff
8
8
# We use it to not specify the branch name as it changes based on
9
9
# the commit list (semver-minor/semver-patch)
10
10
git config push.default current
11
- echo " /## $RELEASE_DATE /,/^<a id=/{ if (!/^<a id=/) print }" > temp.awk
12
- awk -f temp.awk doc/changelogs/CHANGELOG_V23.md > pr-body.md
11
+ MATCHER= " /## $RELEASE_DATE /,/^<a id=/{ if (!/^<a id=/) print }"
12
+ awk $MATCHER doc/changelogs/CHANGELOG_V23.md > pr-body.md
13
13
gh pr create --body-file pr-body.md
14
14
# TODO: ammend with proposal PR
You can’t perform that action at this time.
0 commit comments