discourse/.github/workflows/labeler.yml
Alan Guo Xiang Tan c8bec538c3
DEV: Only enable our self hosted runners on the discourse/discourse repo (#29024)
Our self hosted runners does not work for forked repositories.
2024-09-30 11:18:20 +08: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