feat: set git cherry pick and Milestone (#2131)

This commit is contained in:
Xinwei Xiong
2024-03-20 10:20:23 +08:00
committed by GitHub
parent c50b787c58
commit f52a4fe7e5
2 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -25,6 +25,7 @@ jobs:
- name: Comment cherry-pick command
uses: actions/github-script@v7
with:
github-token: ${{ secrets.BOT_GITHUB_TOKEN }}
script: |
const pr = context.payload.pull_request;
if (!pr.merged) {
@@ -63,5 +64,4 @@ jobs:
repo: context.repo.repo,
issue_number: pr.number,
body: cherryPickCmd
});
github-token: ${{ secrets.BOT_GITHUB_TOKEN }}
});