Skip to content

Commit af2a867

Browse files
authored
chore: restore release-drafter.yml file (#1912)
1 parent 7cd63d1 commit af2a867

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Automates creation of Release Drafts using Release Drafter
2+
# More Info: https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
9+
jobs:
10+
update_release_draft:
11+
# Only draft release notes on the repo in the jenkinsci GitHub organization
12+
if: ${{ github.repository_owner == 'jenkinsci' }}
13+
runs-on: ubuntu-latest
14+
steps:
15+
# https://github.com/release-drafter/release-drafter/issues/871#issuecomment-3686135188
16+
- name: Wait for 15 seconds to ensure GraphQL consistency
17+
shell: bash
18+
run: sleep 15s
19+
# Drafts your next Release notes as Pull Requests are merged into the default branch
20+
- name: Release Drafter
21+
uses: release-drafter/release-drafter@693d20e7c1ce1a81d3a41962f85914253b518449 # v7.3.1
22+
with:
23+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)