mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
24 lines
506 B
YAML
24 lines
506 B
YAML
name: Draft Release
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
draft-release:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write # write permission is required to create a GitHub release
|
|
pull-requests: read # required to read PR titles/labels
|
|
steps:
|
|
- name: Draft Release
|
|
uses: release-drafter/release-drafter@v6
|
|
with:
|
|
disable-autolabeler: true
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|