mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 19:14:32 +08:00
49916b0a0c
It's not needed and confusing when PRs created by discourse-translator-bot have the "chat" label.
20 lines
342 B
YAML
20 lines
342 B
YAML
name: Pull Request Labeler
|
|
|
|
on:
|
|
- pull_request_target
|
|
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
triage:
|
|
if: github.actor != 'discourse-translator-bot'
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/labeler@v5
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
sync-labels: true
|