Compare commits

...
This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.

2 Commits

Author SHA1 Message Date
Gerhard Schlager
951b653d9d DEV: Add 'i18n' label to PRs which include changes related to i18n 2023-01-31 15:08:22 +01:00
Gerhard Schlager
bd945bf2ad
DEV: Don't run 'labeler' GitHub Action for translator-bot
It's not needed and confusing when PRs created by discourse-translator-bot have the "chat" label.
2023-01-31 14:54:55 +01:00
2 changed files with 8 additions and 1 deletions

7
.github/labeler.yml vendored
View File

@ -1,2 +1,7 @@
chat:
- plugins/chat/**/*
- "plugins/chat/**/*"
i18n:
- "config/locales/*en.yml"
- "plugins/**/config/locales/*en.yml"
- "**/*i18n*"

View File

@ -4,6 +4,7 @@ on:
jobs:
triage:
if: github.actor != 'discourse-translator-bot'
permissions:
contents: read
pull-requests: write
@ -12,3 +13,4 @@ jobs:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true