Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 6f9587f

Browse files
authored
ci: omit pr number (#11033)
In the latest version of `maintain-one-comment`, pr number can be set automatically actions-cool/maintain-one-comment#9
1 parent 15ee43f commit 6f9587f

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

.github/workflows/size-data.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,3 @@ jobs:
4141
with:
4242
name: size-data
4343
path: temp/size
44-
45-
- name: Save PR number
46-
if: ${{github.event_name == 'pull_request'}}
47-
run: echo ${{ github.event.number }} > ./pr.txt
48-
49-
- uses: actions/upload-artifact@v4
50-
if: ${{github.event_name == 'pull_request'}}
51-
with:
52-
name: pr-number
53-
path: pr.txt

.github/workflows/size-report.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,6 @@ jobs:
3535
- name: Install dependencies
3636
run: pnpm install
3737

38-
- name: Download PR number
39-
uses: dawidd6/action-download-artifact@v3
40-
with:
41-
name: pr-number
42-
run_id: ${{ github.event.workflow_run.id }}
43-
path: /tmp/pr-number
44-
45-
- name: Read PR Number
46-
id: pr-number
47-
uses: juliangruber/read-file-action@v1
48-
with:
49-
path: /tmp/pr-number/pr.txt
50-
5138
- name: Download Size Data
5239
uses: dawidd6/action-download-artifact@v3
5340
with:
@@ -78,7 +65,6 @@ jobs:
7865
uses: actions-cool/maintain-one-comment@v3
7966
with:
8067
token: ${{ secrets.GITHUB_TOKEN }}
81-
number: ${{ steps.pr-number.outputs.content }}
8268
body: |
8369
${{ steps.size-report.outputs.content }}
8470
<!-- VUE_CORE_SIZE -->

0 commit comments

Comments
 (0)