-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tool] Upload both BE/FE coverage of PR after merged (#29812)
Signed-off-by: AndyZiYe <[email protected]>
- Loading branch information
Showing
5 changed files
with
27 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,24 +87,17 @@ jobs: | |
ignore: node_modules | ||
version: 0.28.1 | ||
|
||
behavior-change-unset: | ||
runs-on: ubuntu-latest | ||
needs: add-doc-label | ||
steps: | ||
- name: Replace Pull Request Body | ||
uses: ivangabriele/[email protected] | ||
with: | ||
githubToken: ${{ secrets.PAT }} | ||
find: '[x] Yes, this PR will result in a change in behavior.' | ||
replace: '[ ] Yes, this PR will result in a change in behavior.' | ||
|
||
behavior-unchange-set: | ||
behavior-unchange: | ||
runs-on: ubuntu-latest | ||
needs: add-doc-label | ||
env: | ||
PR_NUMBER: ${{ github.event.number }} | ||
REPO: ${{ github.repository }} | ||
GITHUB_TOKEN: ${{ secrets.PAT }} | ||
steps: | ||
- name: Replace Pull Request Body | ||
uses: ivangabriele/[email protected] | ||
with: | ||
githubToken: ${{ secrets.PAT }} | ||
find: '[ ] No, this PR will not result in a change in behavior.' | ||
replace: '[x] No, this PR will not result in a change in behavior.' | ||
- name: Set Body | ||
run: | | ||
body=$(gh pr view ${PR_NUMBER} -R ${REPO} --json body -q .body) | ||
body=${body//"[x] Yes, this PR will result in a change in behavior."/"[ ] Yes, this PR will result in a change in behavior."} | ||
body=${body//"[ ] No, this PR will not result in a change in behavior."/"[x] No, this PR will not result in a change in behavior."} | ||
gh pr edit ${PR_NUMBER} -R ${REPO} -b "$body" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters