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
41
42
name: Release Drafter
on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- main
- master
# pull_request event is required only for autolabeler
pull_request:
# Only following types are handled by the action, but one can default to all as well
types:
permissions: write-all
jobs:
update_release_draft:
name: Update Release Draft
runs-on: ubuntu-latest
# container: catthehacker/ubuntu:act-20.04 # Uncomment it if you use it on Gitea
steps:
- name: Disable SSL Verify
run: git config --global http.sslVerify false
# - name: Setup MTK Certification
# uses: https://gitea.mediatek.inc/actions/mtk-cert-action@v1.2.0
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Release Drafter
uses: release-drafter/release-drafter@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
publish: false
config-name: release-drafter.yml