-
Notifications
You must be signed in to change notification settings - Fork 1.6k
33 lines (32 loc) · 1.41 KB
/
triage.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Triage
on:
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target
# All event types
# Be careful when adding more actions to this workflow
# https://github.com/actions/labeler#permissions
pull_request_target:
types: [labeled, unlabeled, opened, ready_for_review, reopened, synchronize]
jobs:
label-pull-request:
name: 'Label Pull Request'
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4 # https://github.com/actions/labeler
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
sync-labels: true
dot: true
first-interaction:
name: First Interaction
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1 # https://github.com/actions/first-interaction
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
pr-message: "Hi @${{ github.event.pull_request.user.login }}, thanks so much for helping improve the Roblox creator documentation! Our technical writing team will review your pull request soon. In the meantime, please ensure you've read through the [README.md](https://github.com/Roblox/creator-docs#readme), contribution guidelines, and [style recommendations](https://github.com/Roblox/creator-docs/blob/main/STYLE.md)."