2021-09-11 01:53:48 +08:00
|
|
|
name: Release Drafter
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
update_release_draft:
|
|
|
|
runs-on: ubuntu-latest
|
2023-02-11 19:23:24 +08:00
|
|
|
|
|
|
|
permissions:
|
2023-02-12 04:14:56 +08:00
|
|
|
# Give the default GITHUB_TOKEN write permission.
|
2023-02-11 19:23:24 +08:00
|
|
|
# https://github.blog/changelog/2023-02-02-github-actions-updating-the-default-github_token-permissions-to-read-only/
|
|
|
|
contents: write
|
|
|
|
|
2021-09-11 01:53:48 +08:00
|
|
|
steps:
|
|
|
|
- uses: release-drafter/release-drafter@v5
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|