-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicated PRs in the releases #1395
Comments
Good day Can you provide some logs please. Specifically which Based on the pasted snippet I can see that the workflow is neither triggered by a There's a chance that wrong from->to ranges are identified |
Thank you for the reply, Mike. The snipped above is triggered from this action: name: Create release note
on:
push:
# The regex should match only prod-123 (prod tags) or prod-123.4 (patch tags)
tags:
- 'prod-[0-9]+'
- 'prod-[0-9]+.[0-9]+'
jobs:
generate_release:
name: Generate release
uses: .github/workflows/generate_release.yml@master Almost all of the PRs appears duplicated - they are present for example in both In the logs seems that the previous tag is not correctly applied: 🔖 Resolved current tag (prod-105) from the 'github.context.ref'
🔖 Resolved previous tag (v1.99.0) from the tags git API In my case I want the previous tag to be Once again thank you for looking into this problem. |
So there are a few things at play. The first part, I am not 100% sure if the context is fully forwarded for a workflow dispatch, that said. It seems to be the case based on your example. But then the main item which causes problem is. the Action uses You will have to change the configuration more to tell the action how it can identify the prior tag. Which seems to be quite complicated as you don't seem to follow a consistent naming approach, neither semver nor different. The "easiest" for the action would be if you pass in the otherwise, you can configure the logic to filter tags, you can use regex to transform tags. and you acn use the |
Hi Mike,
First of all I would like to thank you for the great tool! I would like to give it a try and ended with the following configuration:
However I noted that a single PR was included in several different tags (i.e. releases). And this seems to be valid for a lot of the PRs - they are part of different sequential releases, not in a single one. Do you know what might be the reason for this behaviour?
Thank you in advance for your help.
The text was updated successfully, but these errors were encountered: