Skip to content

Commit 8bcf8af

Browse files
yifancongCopilot
andauthored
chore(workflow): run diff CI on push events (#12346)
* chore: change the diff ci yaml * Update .github/workflows/ci-diff.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent cc79127 commit 8bcf8af

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/ci-diff.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@ name: CI Diff
22

33
on:
44
pull_request:
5-
types: [opened, synchronize, closed]
5+
types: [opened, synchronize, reopened]
6+
7+
push:
8+
branches:
9+
- main
610

711
concurrency:
8-
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
12+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
913
cancel-in-progress: true
1014

1115
permissions:
@@ -77,7 +81,7 @@ jobs:
7781
run: RSDOCTOR=true CI=true pnpm run build:cases
7882

7983
- name: Report Compressed Size
80-
uses: web-infra-dev/rsdoctor-action@44c54ca962bc7517abaa30a9509c7a9ea7af5dc1
84+
uses: web-infra-dev/rsdoctor-action@a92db9e3ee802d42a74c130a9a144f053d2f13cc
8185
with:
8286
github_token: ${{ secrets.GITHUB_TOKEN }}
8387
file_path: "../build-tools-performance/**/dist/rsdoctor-data.json"

0 commit comments

Comments
 (0)