Skip to content

Commit

Permalink
chore(CI): split PR labeler workflow (#9102)
Browse files Browse the repository at this point in the history
* chore(CI): split PR labeler workflow

* fix

* fix
  • Loading branch information
chenjiahan authored Jan 24, 2025
1 parent 494aaa1 commit bd65828
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/lint-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ on:
- edited

permissions:
# Allow `github/issue-labeler` to add labels
issues: write
# Allow `amannn/action-semantic-pull-request` to read pull requests
pull-requests: read

Expand Down Expand Up @@ -53,16 +51,3 @@ jobs:
# Configure additional validation for the subject based on a regex.
ignoreLabels: |
bot
release-labeling:
# See context at https://github.com/web-infra-dev/rspack/discussions/2760
name: Labeling for releasing
runs-on: ubuntu-latest
steps:
- uses: github/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/pr-labeler.yml
enable-versioned-regex: 0
include-title: 1
sync-labels: 1
26 changes: 26 additions & 0 deletions .github/workflows/pr-labeler.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: PR Labeler

on:
pull_request_target:
types:
- opened
- edited

permissions:
# Allow `github/issue-labeler` to add labels
issues: write
pull-requests: write

jobs:
release-labeling:
# See context at https://github.com/web-infra-dev/rspack/discussions/2760
name: Labeling for releasing
runs-on: ubuntu-latest
steps:
- uses: github/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/pr-labeler.yml
enable-versioned-regex: 0
include-title: 1
sync-labels: 1

2 comments on commit bd65828

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented on bd65828 Jan 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Benchmark detail: Open

Name Base (2025-01-24 494aaa1) Current Change
10000_big_production-mode_disable-minimize + exec 37.9 s ± 1.01 s 38.6 s ± 303 ms +1.89 %
10000_development-mode + exec 1.85 s ± 22 ms 1.83 s ± 26 ms -1.01 %
10000_development-mode_hmr + exec 682 ms ± 6 ms 694 ms ± 15 ms +1.76 %
10000_production-mode + exec 2.41 s ± 50 ms 2.5 s ± 145 ms +3.68 %
10000_production-mode_persistent-cold + exec 2.55 s ± 46 ms 2.6 s ± 83 ms +1.71 %
10000_production-mode_persistent-hot + exec 1.79 s ± 147 ms 1.8 s ± 156 ms +0.27 %
arco-pro_development-mode + exec 1.78 s ± 73 ms 1.74 s ± 94 ms -2.04 %
arco-pro_development-mode_hmr + exec 388 ms ± 0.94 ms 388 ms ± 3.9 ms +0.09 %
arco-pro_production-mode + exec 3.77 s ± 100 ms 3.79 s ± 115 ms +0.61 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 3.88 s ± 132 ms 3.89 s ± 317 ms +0.41 %
arco-pro_production-mode_persistent-cold + exec 3.93 s ± 182 ms 3.94 s ± 339 ms +0.21 %
arco-pro_production-mode_persistent-hot + exec 2.52 s ± 192 ms 2.56 s ± 122 ms +1.59 %
arco-pro_production-mode_traverse-chunk-modules + exec 3.79 s ± 184 ms 3.88 s ± 220 ms +2.42 %
large-dyn-imports_development-mode + exec 2.1 s ± 120 ms 2.07 s ± 36 ms -1.45 %
large-dyn-imports_production-mode + exec 2.14 s ± 51 ms 2.16 s ± 48 ms +0.73 %
threejs_development-mode_10x + exec 1.53 s ± 21 ms 1.53 s ± 10 ms +0.14 %
threejs_development-mode_10x_hmr + exec 777 ms ± 13 ms 794 ms ± 25 ms +2.23 %
threejs_production-mode_10x + exec 5.51 s ± 237 ms 5.43 s ± 143 ms -1.53 %
threejs_production-mode_10x_persistent-cold + exec 5.57 s ± 287 ms 5.54 s ± 88 ms -0.56 %
threejs_production-mode_10x_persistent-hot + exec 4.76 s ± 206 ms 4.75 s ± 335 ms -0.28 %
10000_big_production-mode_disable-minimize + rss memory 8775 MiB ± 358 MiB 8705 MiB ± 33.9 MiB -0.79 %
10000_development-mode + rss memory 643 MiB ± 21 MiB 668 MiB ± 40.6 MiB +3.90 %
10000_development-mode_hmr + rss memory 1283 MiB ± 196 MiB 1359 MiB ± 86.2 MiB +5.90 %
10000_production-mode + rss memory 636 MiB ± 20.7 MiB 671 MiB ± 21.4 MiB +5.52 %
10000_production-mode_persistent-cold + rss memory 746 MiB ± 12 MiB 775 MiB ± 18.4 MiB +3.96 %
10000_production-mode_persistent-hot + rss memory 723 MiB ± 22 MiB 756 MiB ± 14 MiB +4.47 %
arco-pro_development-mode + rss memory 564 MiB ± 22.8 MiB 585 MiB ± 25.7 MiB +3.76 %
arco-pro_development-mode_hmr + rss memory 660 MiB ± 64.2 MiB 676 MiB ± 41.8 MiB +2.39 %
arco-pro_production-mode + rss memory 737 MiB ± 23.7 MiB 727 MiB ± 22.3 MiB -1.36 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 737 MiB ± 28.8 MiB 740 MiB ± 41 MiB +0.41 %
arco-pro_production-mode_persistent-cold + rss memory 865 MiB ± 47.4 MiB 846 MiB ± 45.2 MiB -2.14 %
arco-pro_production-mode_persistent-hot + rss memory 752 MiB ± 20.5 MiB 740 MiB ± 44.4 MiB -1.64 %
arco-pro_production-mode_traverse-chunk-modules + rss memory 743 MiB ± 32.7 MiB 738 MiB ± 29.6 MiB -0.78 %
large-dyn-imports_development-mode + rss memory 653 MiB ± 4.28 MiB 657 MiB ± 9.16 MiB +0.67 %
large-dyn-imports_production-mode + rss memory 537 MiB ± 6.2 MiB 545 MiB ± 10 MiB +1.38 %
threejs_development-mode_10x + rss memory 552 MiB ± 5.19 MiB 550 MiB ± 49 MiB -0.37 %
threejs_development-mode_10x_hmr + rss memory 1139 MiB ± 62.6 MiB 1179 MiB ± 118 MiB +3.51 %
threejs_production-mode_10x + rss memory 829 MiB ± 44.9 MiB 833 MiB ± 59.6 MiB +0.58 %
threejs_production-mode_10x_persistent-cold + rss memory 955 MiB ± 63.2 MiB 934 MiB ± 47.7 MiB -2.20 %
threejs_production-mode_10x_persistent-hot + rss memory 879 MiB ± 22.8 MiB 892 MiB ± 52.3 MiB +1.44 %

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented on bd65828 Jan 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Ecosystem CI detail: Open

suite result
modernjs ❌ failure
rspress ✅ success
rslib ✅ success
rsbuild ✅ success
rsdoctor ✅ success
examples ✅ success
devserver ✅ success
nuxt ✅ success

Please sign in to comment.