From de762aa1d974442ccb792366ad4ceb50f6ff6783 Mon Sep 17 00:00:00 2001 From: Kris Stern Date: Thu, 18 Jun 2026 00:48:41 +0800 Subject: [PATCH] chore: restore release-drafter.yml file --- .github/workflows/release-drafter.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 000000000..05495a28b --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,23 @@ +# Automates creation of Release Drafts using Release Drafter +# More Info: https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc + +on: + push: + branches: + - master + +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@693d20e7c1ce1a81d3a41962f85914253b518449 # v7.3.1 + with: + token: ${{ secrets.GITHUB_TOKEN }}