File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed
Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 2626
2727 runs-on : ${{ matrix.os }}
2828 timeout-minutes : 100
29+
30+ env :
31+ PR_URL : ${{ github.event.pull_request.html_url }}
32+ GITHUB_TOKEN : ${{ github.token }}
33+
2934 steps :
3035 - uses : actions/checkout@v6
3136 with :
4651 git push
4752
4853 - name : " Update pr metadata"
49- env :
50- PR_URL : ${{ github.event.pull_request.html_url }}
51- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5254 run : |
5355 gh pr merge --auto --merge "$PR_URL"
5456 gh pr review --approve "$PR_URL"
Original file line number Diff line number Diff line change 5959 contents : write
6060 pull-requests : write
6161
62+ env :
63+ GITHUB_TOKEN : ${{ github.token }}
64+
6265 steps :
6366 - uses : actions/checkout@v6
6467 with :
7376 git push
7477
7578 - name : Create pull request
76- env :
77- GITHUB_TOKEN : ${{ github.token }}
7879 run : |
7980 PR_URL="$(gh pr create --head $RELEASE_BRANCH --title 'Bump patch version' --body 'Automated monthly release merge')"
81+ echo "PR_URL=$PR_URL" >> $GITHUB_ENV
82+
83+ - name : " Update pr metadata"
84+ run : |
8085 gh pr merge --auto --merge "$PR_URL"
81- gh pr merge --merge --admin "$PR_URL"
86+ gh pr review --approve "$PR_URL"
You can’t perform that action at this time.
0 commit comments