-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (36 loc) · 962 Bytes
/
draft.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
38
39
40
name: Release Drafter
on:
push:
branches:
- main
jobs:
dump-contexts:
runs-on: ubuntu-latest
steps:
- name: Dump context "GitHub"
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Dump context "vars"
env:
VARS_CONTEXT: ${{ toJson(vars) }}
run: echo "$VARS_CONTEXT"
- name: Dump context "Job"
env:
JOB_CONTEXT: ${{ toJson(job) }}
run: echo "$JOB_CONTEXT"
update-draft:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Dump context "Job"
env:
JOB_CONTEXT: ${{ toJson(job) }}
run: echo "$JOB_CONTEXT"
# Drafts your next Release notes as Pull Requests are merged into "main"
- uses: release-drafter/release-drafter@v6
with:
disable-autolabeler: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}