discourse/.github/workflows/labeler.yml
Gerhard Schlager 49916b0a0c 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.
2024-01-16 15:00:19 +01:00

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