forked from CFPAOrg/Minecraft-Mod-Language-Package
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 978 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
32
33
34
35
36
37
name: Label PRs
on:
issues:
types: [opened, edited, closed, reopened]
pull_request_target:
types: [opened, edited, closed, reopened, synchronize]
project_card:
types: [created, moved, deleted]
workflow_dispatch:
permissions:
actions: write
checks: write
contents: write
deployments: write
issues: write
pull-requests: write
repository-projects: write
statuses: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Generate token
id: generate_token
uses: tibdex/[email protected]
with:
app_id: '181747'
private_key: ${{ secrets.CFPA_BOT_PRIVATE_KEY }}
- name: Label Mastermind
uses: Videndum/[email protected]
with:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}