git-auto-commit-action/.github/workflows/release-drafter.yml

22 lines
540 B
YAML
Raw Normal View History

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:
# Give the default GITHUB_TOKEN write permission to commit and push the
# updaetd CHANGELOG back to the repository.
# 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 }}