File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 }}
You can’t perform that action at this time.
0 commit comments