forked from brave/brave-core
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 1.02 KB
/
pull_request.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
on:
pull_request:
types: [opened, reopened]
name: Pull Request
# Setting permissions for GITHUB_TOKEN for dependabot as default is readonly
# https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/automating-dependabot-with-github-actions?learn=dependency_version_updates&learnProduct=code-security
permissions:
pull-requests: write
jobs:
assignAuthor:
name: Assign author to PR
runs-on: ubuntu-latest
steps:
- name: Assign author to PR
uses: technote-space/assign-author@v1
# See: .github/labeler.yml
addCiLabels:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v3
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
# Workaround for https://github.com/actions/labeler/issues/104
# Explained at https://github.com/wesnoth/wesnoth/commit/958c82d0867568057caaf58356502ec8c87d8366
# Should continue working https://github.com/actions/labeler/pull/113#issuecomment-865404272
sync-labels: ""