forked from discordia-space/CEV-Eris
-
Notifications
You must be signed in to change notification settings - Fork 4
31 lines (28 loc) · 992 Bytes
/
labeler.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
name: "Pull Request Labeler"
permissions:
contents: read
on:
push:
branches:
- master
pull_request_target:
jobs:
triage:
permissions:
contents: read # may be required due to overwrite/add ambiguity
pull-requests: write # required to apply labels to PRs
runs-on: ubuntu-latest
steps:
- name: Check for conflicting PRs
uses: eps1lon/actions-label-merge-conflict@releases/2.x
with:
dirtyLabel: "_🚨_ Conflicts! _🚨_"
repoToken: "${{ secrets.GITHUB_TOKEN }}"
commentOnDirty: "Pull Request содержит конфликты. Устраните их, чтобы мы смогли оценить и принять запрос."
- name: Apply labels based on changed files
if: github.event_name != 'push'
uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
configuration-path: .github/labeler.yml