-
Notifications
You must be signed in to change notification settings - Fork 185
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 changelog checker #4387
Fix changelog checker #4387
Conversation
This action also works on merged pull requests. Before, $files_modified was empty on merged pull requests and the workflow failed
Only .changes files are passed to this script by the get-changed-files action.
4f252ea
to
c3863a9
Compare
Out of curiosity, does |
Yes, this one does:
https://github.com/jitterbit/get-changed-files seems unmaintained, the PR that adds
I'll |
The automation to create comments doesn't work on the pull_request hook for forks due to permissions. According to the docs, the right hook to use is pull_request_target instead. Co-authored-by: Etheryte <[email protected]>
Nice, thanks a lot for looking into this as well, this looks very good. 👍 |
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.
LGTM but I honestly have no clue about github actions... so not sure such a review is actually useful ;)
What does this PR change?
Use get-changed-files action, it also works on merged pull requests. Before, $files_modified was empty on merged pull requests and the workflow failed. Also simplified the ruby script while I was at it.
GUI diff
No diff.
Documentation
No documentation needed: github actions only
DONE
Test coverage
GitHub is a bit slow for me today, I want to do another manual test in my fork before ticking "done".
Links
Couldn't find any issue.
Changelogs
If you don't need a changelog check, please mark this checkbox:
Re-run a test
If you need to re-run a test, please mark the related checkbox, it will be unchecked automatically once it has re-run: