2023-06-12 11:29:41 +01:00
|
|
|
name: "Pull Request Triage"
|
|
|
|
on:
|
2023-06-12 19:42:27 +01:00
|
|
|
pull_request_target:
|
2023-06-13 10:51:22 +01:00
|
|
|
types: [opened, ready_for_review]
|
2023-06-12 11:29:41 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
triage:
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
pull-requests: write
|
2023-06-13 10:51:22 +01:00
|
|
|
|
2023-06-12 11:29:41 +01:00
|
|
|
runs-on: ubuntu-latest
|
2023-06-13 10:51:22 +01:00
|
|
|
|
2023-06-12 11:29:41 +01:00
|
|
|
steps:
|
2023-09-04 18:14:20 +01:00
|
|
|
# Grab sources to get latest labeler.yml
|
|
|
|
- name: Fetch sources
|
2023-09-04 21:16:17 +01:00
|
|
|
uses: actions/checkout@v4
|
2023-09-04 18:14:20 +01:00
|
|
|
with:
|
|
|
|
# Ensure we pin the source origin as pull_request_target run under forks.
|
|
|
|
fetch-depth: 0
|
|
|
|
repository: Ryujinx/Ryujinx
|
|
|
|
ref: master
|
|
|
|
|
2023-06-12 11:29:41 +01:00
|
|
|
- name: Update labels based on changes
|
2023-12-04 18:15:52 +00:00
|
|
|
uses: actions/labeler@v5
|
2023-06-12 11:29:41 +01:00
|
|
|
with:
|
|
|
|
sync-labels: true
|
|
|
|
dot: true
|