2021-05-04 12:33:21 -04:00
|
|
|
---
|
2021-10-01 15:57:26 -04:00
|
|
|
####################################
|
|
|
|
####################################
|
|
|
|
## Draft releases on Push to main ##
|
|
|
|
####################################
|
|
|
|
####################################
|
2020-07-01 23:44:16 -04:00
|
|
|
name: Release Drafter
|
|
|
|
|
2021-05-04 12:33:21 -04:00
|
|
|
###########################
|
2021-10-01 15:57:26 -04:00
|
|
|
# Start on push to main #
|
2021-05-04 12:33:21 -04:00
|
|
|
###########################
|
2020-07-01 23:44:16 -04:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
# branches to consider in the event; optional, defaults to all
|
|
|
|
branches:
|
2021-05-04 12:33:21 -04:00
|
|
|
- main
|
2020-07-01 23:44:16 -04:00
|
|
|
|
2021-05-04 12:33:21 -04:00
|
|
|
#################
|
|
|
|
# Start the job #
|
|
|
|
#################
|
2022-04-11 15:52:49 -04:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2020-07-01 23:44:16 -04:00
|
|
|
jobs:
|
|
|
|
update_release_draft:
|
2022-04-11 15:52:49 -04:00
|
|
|
permissions:
|
|
|
|
contents: write # for release-drafter/release-drafter to create a github release
|
|
|
|
pull-requests: write # for release-drafter/release-drafter to add label to PR
|
2020-07-01 23:44:16 -04:00
|
|
|
runs-on: ubuntu-latest
|
2021-11-15 11:25:36 -05:00
|
|
|
timeout-minutes: 60
|
2020-07-01 23:44:16 -04:00
|
|
|
steps:
|
|
|
|
# Drafts your next Release notes as Pull Requests are merged into "master"
|
|
|
|
- uses: release-drafter/release-drafter@v5
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|