lint/.github/workflows/draft-release.yml

36 lines
963 B
YAML
Raw Normal View History

---
####################################
####################################
## Draft releases on Push to main ##
####################################
####################################
2020-07-01 23:44:16 -04:00
name: Release Drafter
###########################
# Start on push to main #
###########################
2020-07-01 23:44:16 -04:00
on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- main
2020-07-01 23:44:16 -04:00
#################
# Start the job #
#################
permissions:
contents: read
2020-07-01 23:44:16 -04:00
jobs:
update_release_draft:
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 }}