Skip to content

Commit

Permalink
chore(ci): Bump actions/labeler from 4 to 5
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 committed Mar 11, 2024
1 parent a817d2d commit b47f892
Show file tree
Hide file tree
Showing 2 changed files with 146 additions and 71 deletions.
214 changes: 144 additions & 70 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,106 +1,180 @@
# This file is used by .github/workflows/pr-labeler.yml to label pull requests based on the files changed in the PR.
# Object matching syntax: https://github.com/actions/labeler/blob/main/README.md#match-object
system:
- package.json
- yarn.lock
- .github/**/*
- .husky/**/*
- .vscode/**/*
- .*
- scripts/**/*
- tests/**/*
- jest.config.json
- front-matter-config.json
- changed-files:
- any-glob-to-any-file:
- package.json
- yarn.lock
- .github/**
- .husky/**
- .vscode/**
- .*
- scripts/**
- tests/**
- jest.config.json
- front-matter-config.json

Content:Accessibility:
- files/en-us/web/accessibility/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/web/accessibility/**
Content:CSS:
- files/en-us/web/css/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/web/css/**
Content:Events:
- files/en-us/web/events/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/web/events/**
Content:Firefox:
- files/en-us/mozilla/firefox/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/mozilla/firefox/**
Content:Games:
- files/en-us/games/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/games/**
Content:Glossary:
- files/en-us/glossary/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/glossary/**
Content:Guide:
- files/en-us/web/guide/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/web/guide/**
Content:HTML:
- files/en-us/web/html/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/web/html/**
Content:HTTP:
- files/en-us/web/http/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/web/http/**
Content:JS:
- files/en-us/web/javascript/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/web/javascript/**
Content:Learn:
- any:
- files/en-us/learn/**/*
- "!files/en-us/learn/accessibility/**/*"
- "!files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/**/*"
- "!files/en-us/learn/tools_and_testing/understanding_client-side_tools/**/*"
- "!files/en-us/learn/tools_and_testing/cross_browser_testing/**/*"
- "!files/en-us/learn/css/**/*"
- "!files/en-us/learn/server-side/django/**/*"
- "!files/en-us/learn/server-side/express_nodejs/**/*"
- "!files/en-us/learn/forms/**/*"
- "!files/en-us/learn/tools_and_testing/github/**/*"
- "!files/en-us/learn/html/**/*"
- "!files/en-us/learn/javascript/**/*"
- files/en-us/web/tutorials/**/*
- changed-files:
- all-globs-to-any-file:
- files/en-us/learn/**
- "!files/en-us/learn/accessibility/**"
- "!files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/**"
- "!files/en-us/learn/tools_and_testing/understanding_client-side_tools/**"
- "!files/en-us/learn/tools_and_testing/cross_browser_testing/**"
- "!files/en-us/learn/css/**"
- "!files/en-us/learn/server-side/django/**"
- "!files/en-us/learn/server-side/express_nodejs/**"
- "!files/en-us/learn/forms/**"
- "!files/en-us/learn/tools_and_testing/github/**"
- "!files/en-us/learn/html/**"
- "!files/en-us/learn/javascript/**"
- changed-files:
- any-glob-to-any-file:
- files/en-us/web/tutorials/**
Content:Learn:Accessibility:
- files/en-us/learn/accessibility/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/learn/accessibility/**
Content:Learn:Client-side:
- files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/**/*
- files/en-us/learn/tools_and_testing/understanding_client-side_tools/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/**
- files/en-us/learn/tools_and_testing/understanding_client-side_tools/**
Content:Learn:Cross-Browser-Testing:
- files/en-us/learn/tools_and_testing/cross_browser_testing/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/learn/tools_and_testing/cross_browser_testing/**
Content:Learn:CSS:
- files/en-us/learn/css/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/learn/css/**
Content:Learn:Django:
- files/en-us/learn/server-side/django/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/learn/server-side/django/**
Content:Learn:Express:
- files/en-us/learn/server-side/express_nodejs/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/learn/server-side/express_nodejs/**
Content:Learn:Forms:
- files/en-us/learn/forms/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/learn/forms/**
Content:Learn:GitHub:
- files/en-us/learn/tools_and_testing/github/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/learn/tools_and_testing/github/**
Content:Learn:HTML:
- files/en-us/learn/html/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/learn/html/**
Content:Learn:JavaScript:
- files/en-us/learn/javascript/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/learn/javascript/**
Content:Manifest:
- files/en-us/web/manifest/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/web/manifest/**
Content:MathML:
- files/en-us/web/mathml/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/web/mathml/**
Content:Media:
- files/en-us/web/media/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/web/media/**
Content:Meta:
- files/en-us/mdn/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/mdn/**
Content:Performance:
- files/en-us/web/performance/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/web/performance/**
Content:PWA:
- files/en-us/web/progressive_web_apps/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/web/progressive_web_apps/**
Content:Security:
- files/en-us/web/security/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/web/security/**
Content:SVG:
- files/en-us/web/svg/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/web/svg/**
Content:wasm:
- files/en-us/webassembly/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/webassembly/**
Content:WebAPI:
- files/en-us/web/api/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/web/api/**
Content:WebDriver:
- files/en-us/web/webdriver/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/web/webdriver/**
Content:WebExt:
- files/en-us/mozilla/add-ons/webextensions/**/*
- changed-files:
- any-glob-to-any-file:
- files/en-us/mozilla/add-ons/webextensions/**
Content:Other:
- any:
- files/en-us/mozilla/**/*
- "!files/en-us/mozilla/add-ons/webextensions/**/*"
- "!files/en-us/mozilla/firefox/**/*"
- files/en-us/related/**/*
- files/en-us/web/demos/**/*
- files/en-us/web/exslt/**/*
- files/en-us/web/opensearch/**/*
- files/en-us/web/privacy/**/*
- files/en-us/web/text_fragments/**/*
- files/en-us/web/xml/**/*
- files/en-us/web/xpath/**/*
- files/en-us/web/xslt/**/*
- changed-files:
- all-globs-to-any-file:
- files/en-us/mozilla/**
- "!files/en-us/mozilla/add-ons/webextensions/**"
- "!files/en-us/mozilla/firefox/**"
- changed-files:
- any-glob-to-any-file:
- files/en-us/related/**
- files/en-us/web/demos/**
- files/en-us/web/exslt/**
- files/en-us/web/opensearch/**
- files/en-us/web/privacy/**
- files/en-us/web/text_fragments/**
- files/en-us/web/xml/**
- files/en-us/web/xpath/**
- files/en-us/web/xslt/**
3 changes: 2 additions & 1 deletion .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ jobs:
name: Label by path
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true

# Docs: https://github.com/CodelyTV/pr-size-labeler
label-by-size:
Expand Down

0 comments on commit b47f892

Please sign in to comment.