Skip to content
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 the tags check for the release gem action #815

Merged
merged 1 commit into from
May 31, 2024

Conversation

sbernhard
Copy link
Contributor

create:
ref_type: tag
push:
# Pattern matched against refs/tags
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this comment imply it will match against any refs? Or is it just tags? I think we could just drop this comment as the code tells.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sbernhard any thoughts on this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The workflow starts if you push any tag.
In https://github.com/ATIX-AG/foreman_acd/actions/runs/8615551200 we use the same approach with success :-)
If you want, we can drop the comment. Should I?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can drop the comment. But I do wonder if we need to limit this to - 'v*'

Copy link
Contributor Author

@sbernhard sbernhard Apr 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Normally, tags are only created for releases. Additionally, the gem is only released in the theforeman org: https://github.com/theforeman/foreman_maintain/pull/815/files#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34R15
I can not see any other tag than release tags.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Normally, tags are only created for releases. Additionally, the gem is only released in the theforeman org:

You said it yourself, normally. I'd prefer to limit this to the tag structure we know we use to be on the safe side

@ehelms ehelms merged commit 9325eb6 into theforeman:master May 31, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants