Skip to content

Bump release-drafter/release-drafter from 7.1.1 to 7.2.1 (#201) #137

Bump release-drafter/release-drafter from 7.1.1 to 7.2.1 (#201)

Bump release-drafter/release-drafter from 7.1.1 to 7.2.1 (#201) #137

# Automates creation of Release Drafts using Release Drafter
# More Info: https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc
---
name: Release Drafter
on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- master
permissions:
contents: write
pull-requests: write
jobs:
update_release_draft:
# Only draft release notes on the repo in the jenkinsci GitHub organization
if: ${{ github.repository_owner == 'jenkinsci' }}
runs-on: ubuntu-latest
steps:
# https://github.com/release-drafter/release-drafter/issues/871#issuecomment-3686135188
- name: Wait for 15 seconds to ensure GraphQL consistency
shell: bash
run: sleep 15s
# Drafts your next Release notes as Pull Requests are merged into the default branch
- name: Release Drafter
uses: release-drafter/release-drafter@563bf132657a13ded0b01fcb723c5a58cdd824e2 # v7.2.1
with:
token: ${{ secrets.GITHUB_TOKEN }}