-
Notifications
You must be signed in to change notification settings - Fork 15
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: make check-for-non-releasable-actions action run on any actions/ change #593
Conversation
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.
Wasn't the point to trigger only if an action is added or removed? I made a comment asking if that was how it worked, and it made sense to me that if it did then this was a good way to behave. The file should only be able to drift when the action changes, it's modified itself or when actions are added/removed, right?
Said in a different way, I'm not sure that it should have run when #588 got merged.
Or doesn't it work like that after all?
Yeah sorry that's right, I wasn't clear. The expectation should be that it should run only for additions/removals of actions in the |
Yeah, be good to check how this existing check behaves! I wasn't totally sure but you gave me confidence 😄 |
03b76c3
to
360af82
Compare
Renaming an existing action or adding/removing a new one doesn't work :( But I guess what we also need is a single star ( |
360af82
to
2288a2a
Compare
Next test, change the target branch in this PR, to |
cb17797
to
885b12d
Compare
So current implementation doesn't work, also single star glob pattern doesn't work either on renames or additions (tried both |
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.
Looks good. I'd consider removing the path filters completely, and then we can make the check a required one.
Hmm, I think paths could still be valuable for example to avoid running the check if we add new workflows (not actions) or touching stuff outside of the
That's a good point though. Let's merge it now and revisit. I'll create an issue about it. Maybe we can also use the policy bot? |
No afraid not, not since we're using the merge queue - #478 is relevant to this. Running checks more often than needed is the best way we have right now sadly 😢 |
Ugh okay - then it makes sense to close this PR and open a new one which removes the paths completely! |
closing in favor of: #600 |
After #588 got merged, I realized that the action wasn't triggered in the automated release-please PRs, even if the CHANGELOG changes, which lives in
actions/
directory.This PR should fix the issue, by adding the double-start glob pattern.