-
-
Notifications
You must be signed in to change notification settings - Fork 94
30 lines (27 loc) · 1022 Bytes
/
release-drafter.yml
File metadata and controls
30 lines (27 loc) · 1022 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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 }}