Skip to content

Commit

Permalink
chore(ci): Bump actions/labeler from 4 to 5 (#18402)
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 authored Mar 8, 2024
1 parent 379ba87 commit b3e774b
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 36 deletions.
83 changes: 48 additions & 35 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,50 +1,63 @@
system:
- package.json
- yarn.lock
- .github/**/*
- .husky/**/*
- .vscode/**/*
- .*
- front-matter-config.json
# 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

l10n-de:
- files/de/**/*
system:
- changed-files:
- any-glob-to-any-file:
- package.json
- yarn.lock
- .github/**
- .husky/**
- .vscode/**
- .*
- front-matter-config.json

l10n-es:
- files/es/**/*
- docs/es/**/*
- /.github/ISSUE_TEMPLATE/page-report-es.yml
- changed-files:
- any-glob-to-any-file:
- files/es/**
- docs/es/**
- .github/ISSUE_TEMPLATE/page-report-es.yml

l10n-fr:
- files/fr/**/*
- /.github/ISSUE_TEMPLATE/page-report-fr.yml
- changed-files:
- any-glob-to-any-file:
- files/fr/**
- .github/ISSUE_TEMPLATE/page-report-fr.yml

l10n-ja:
- files/ja/**/*
- docs/ja/**/*
- /.github/ISSUE_TEMPLATE/page-report-ja.yml
- changed-files:
- any-glob-to-any-file:
- files/ja/**
- docs/ja/**
- .github/ISSUE_TEMPLATE/page-report-ja.yml

l10n-ko:
- files/ko/**/*
- docs/ko/**/*
- /.github/ISSUE_TEMPLATE/page-report-ko.yml

l10n-pl:
- files/pl/**/*
- changed-files:
- any-glob-to-any-file:
- files/ko/**
- docs/ko/**
- .github/ISSUE_TEMPLATE/page-report-ko.yml

l10n-pt-br:
- files/pt-br/**/*
- /.github/ISSUE_TEMPLATE/page-report-pt-br.yml
- changed-files:
- any-glob-to-any-file:
- files/pt-br/**
- .github/ISSUE_TEMPLATE/page-report-pt-br.yml

l10n-ru:
- files/ru/**/*
- docs/ru/**/*
- /.github/ISSUE_TEMPLATE/page-report-ru.yml
- changed-files:
- any-glob-to-any-file:
- files/ru/**
- docs/ru/**
- .github/ISSUE_TEMPLATE/page-report-ru.yml

l10n-zh:
- files/zh-cn/**/*
- files/zh-tw/**/*
- docs/zh-cn/**/*
- docs/zh-tw/**/*
- /.github/ISSUE_TEMPLATE/page-report-zh-cn.yml
- /.github/ISSUE_TEMPLATE/page-report-zh-tw.yml
- changed-files:
- any-glob-to-any-file:
- files/zh-cn/**
- files/zh-tw/**
- docs/zh-cn/**
- docs/zh-tw/**
- .github/ISSUE_TEMPLATE/page-report-zh-cn.yml
- .github/ISSUE_TEMPLATE/page-report-zh-tw.yml
3 changes: 2 additions & 1 deletion .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
if: github.repository == 'mdn/translated-content'
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true

0 comments on commit b3e774b

Please sign in to comment.