-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (33 loc) · 1.04 KB
/
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
# Code generated by craft; DO NOT EDIT.
name: Labeler
run-name: Labeler
on:
pull_request: # autolabeler on project pull requests
types:
- opened
- reopened
- synchronize
- ready_for_review
jobs:
labeler:
name: Labeler
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' || (github.event_name == 'pull_request' && github.event.pull_request.draft == false && github.ref_protected == false) }}
permissions:
contents: read # enfore rights to specify no release, even draft, is created
pull-requests: write
steps:
# https://github.com/marketplace/actions/release-drafter
- id: drafter
uses: release-drafter/release-drafter@v6
with:
commitish: ${{ github.base_ref }}
config-name: labeler.yml
latest: false
name: v$RESOLVED_VERSION
prerelease-identifier: labeler
prerelease: true
publish: false
tag: v$RESOLVED_VERSION
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}