-
-
Notifications
You must be signed in to change notification settings - Fork 518
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
fix: latest tag logic in meta workflow #1646
fix: latest tag logic in meta workflow #1646
Conversation
Signed-off-by: K3rnelPan1c <69395733+k3rnelpan1c-dev@users.noreply.github.com>
Means releases from the |
good catch! |
this needs to work on the main branch and the release branches GitHub expressions unfortunately don't to regex match => have to do this way Signed-off-by: K3rnelPan1c <69395733+k3rnelpan1c-dev@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Marking as "Request Changes" so it doesn't get merged accidentally.
Okay, tiny problem with the separated workflows: No matter how I change it using the default
So to say that I am stuck with that idea is quite accurate, unless we opt to setup a "Dependency-Track-Bot" account that will serve as PAT donor to create the release and commits to the projects on release. re-posting here so we can discuss in an open PR instead of a closed one |
Hmmm... But triggering on new tags should work. Creating a tag should be all that's needed to kick off the release pipeline. Once the tag is created, all following workflows, jobs and steps operate on the correct commit. |
Just like regular commits that are done by the 'GitHub Actions Bot' don't trigger regular push events, the same applies to tag pushes unfortunately 😞 |
Damn. But yeah, makes sense. 😅 How about this:
We can still create a dedicated bot user and add a workflow that runs |
NGL, I had a similar thought, but not including any Maven release plugin 😅 We can still have 2 separate workflows as we would have (and what I already have ready in my fork, but on a different branch).
Gained benefits:
Lost benefits:
|
Thank you for putting in all this work @k3rnelpan1c-dev. I took a gander around your fork (the state on
|
No worries! My motto: I caused the mess, I clean it up. Yes the
EDIT: |
Thanks for clarifying, sounds good to me. |
Okay, then I shall alter the changes as we discussed and get them into this PR.
|
Signed-off-by: K3rnelPan1c <69395733+k3rnelpan1c-dev@users.noreply.github.com>
Signed-off-by: K3rnelPan1c <69395733+k3rnelpan1c-dev@users.noreply.github.com>
Signed-off-by: K3rnelPan1c <69395733+k3rnelpan1c-dev@users.noreply.github.com>
Signed-off-by: K3rnelPan1c <69395733+k3rnelpan1c-dev@users.noreply.github.com>
so this and #1645 are now ready for review. I tried to update the workflow documentation to the best of my ability, but feedback is very welcome 🙂 |
Thanks so much @k3rnelpan1c-dev! Looks good so far, I'll play around with this later today on my fork. |
Signed-off-by: K3rnelPan1c <69395733+k3rnelpan1c-dev@users.noreply.github.com> Co-authored-by: Niklas <nscuro@protonmail.com> Signed-off-by: K3rnelPan1c <69395733+k3rnelpan1c-dev@users.noreply.github.com>
Description
This PR aims to fix and introduce the
latest
tag logic from my prior CI PRs, sorry for any inconvenience that this error may have caused.Issues