mirror of https://github.com/vuejs/core.git
ci: omit pr number (#11033)
In the latest version of `maintain-one-comment`, pr number can be set automatically https://github.com/actions-cool/maintain-one-comment/pull/9
This commit is contained in:
parent
15ee43f66a
commit
6f9587f63b
|
@ -41,13 +41,3 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: size-data
|
name: size-data
|
||||||
path: temp/size
|
path: temp/size
|
||||||
|
|
||||||
- name: Save PR number
|
|
||||||
if: ${{github.event_name == 'pull_request'}}
|
|
||||||
run: echo ${{ github.event.number }} > ./pr.txt
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
|
||||||
if: ${{github.event_name == 'pull_request'}}
|
|
||||||
with:
|
|
||||||
name: pr-number
|
|
||||||
path: pr.txt
|
|
||||||
|
|
|
@ -35,19 +35,6 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
|
|
||||||
- name: Download PR number
|
|
||||||
uses: dawidd6/action-download-artifact@v3
|
|
||||||
with:
|
|
||||||
name: pr-number
|
|
||||||
run_id: ${{ github.event.workflow_run.id }}
|
|
||||||
path: /tmp/pr-number
|
|
||||||
|
|
||||||
- name: Read PR Number
|
|
||||||
id: pr-number
|
|
||||||
uses: juliangruber/read-file-action@v1
|
|
||||||
with:
|
|
||||||
path: /tmp/pr-number/pr.txt
|
|
||||||
|
|
||||||
- name: Download Size Data
|
- name: Download Size Data
|
||||||
uses: dawidd6/action-download-artifact@v3
|
uses: dawidd6/action-download-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
@ -78,7 +65,6 @@ jobs:
|
||||||
uses: actions-cool/maintain-one-comment@v3
|
uses: actions-cool/maintain-one-comment@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
number: ${{ steps.pr-number.outputs.content }}
|
|
||||||
body: |
|
body: |
|
||||||
${{ steps.size-report.outputs.content }}
|
${{ steps.size-report.outputs.content }}
|
||||||
<!-- VUE_CORE_SIZE -->
|
<!-- VUE_CORE_SIZE -->
|
||||||
|
|
Loading…
Reference in New Issue