Merge pull request #2398 from lemeurherve/cleanup-pipeline #592
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Note: additional setup is required, see https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc | |
| name: Release Drafter | |
| on: | |
| push: | |
| branches: | |
| - "master" | |
| workflow_dispatch: | |
| jobs: | |
| update_release_draft: | |
| runs-on: ubuntu-latest | |
| if: github.repository_owner == 'jenkinsci' | |
| 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 "master" | |
| - name: Release Drafter | |
| uses: release-drafter/release-drafter@4d75298e00d9e34c483e5ff8c68d0ea1c1940c1e # v7.5.1 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} |