Use release drafter 7.1.1#1875
Merged
Merged
Conversation
https://docs.github.com/en/actions/how-tos/write-workflows/choose-when-workflows-run/control-jobs-with-conditions shows that `${{ }}` needs to wrap the term of the conditional
Issue release-drafter/release-drafter#871 includes this comment: > PR's associated with commits are coming from GH's GraphQL API, and that > needs some time to process the same event, that triggered the release > drafter itself. We added a 15s delay before running the release drafter > step, ugly but works. A later comment from the release drafter maintainer says: > this is high-effort fix with low-effort workaround. > > Issue comes from GitHub's Graphql Commit-to-PR relation > associatedPullRequests, which take some time for github to compute. When > you push to main and trigger a release-drafter run, you sometimes end > up being faster than Github's backend and may miss this relation. > > To prevent this, simply delay your release-drafter run as @lmagyar suggested. Testing done: None. Rely on GitHub action run when the pull request is merged
The release-drafter/release-drafter#1475 breaking changes section for release drafter 7.0.0 says: If you were using a specific access token using env.GITHUB_TOKEN: $MY_CUSTOM_TOKEN, migrate to the new token: input jobs: steps: # Before - uses: release-drafter/release-drafter@v6 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # After - uses: release-drafter/release-drafter@v7 with: token: ${{ secrets.GITHUB_TOKEN }}
Also assigns a name to the release drafter step so that it is more easily identified in the web page for GitHub actions. Explicitly use jenkinsci release-drafter.yml configuration Release drafter v7 no longer accepts .github as a valid extension. https://github.com/release-drafter/release-drafter/blob/master/docs/configuration-loading.md provides an example that uses this syntax for config-name and says that the _extends syntax accepts the same form. This form is now used in many Jenkins repositories
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use release drafter 7.1.1
with: tokeninstead ofenv: GITHUB_TOKENDetailed descriptions of each change are included in the individual commit messages.
Testing done
Tested successfully in many other repositories. Refer to git client plugin and git plugin.
Submitter checklist