Action that checks whether the body or diff in a PR contains a certain word.
MIT License
Bot releases are visible (Hide)
Minor doc changes
Full Changelog: https://github.com/JJ/github-pr-contains-action/compare/releases/v14...releases/v14.1
Published by JJ 8 months ago
Full Changelog: https://github.com/JJ/github-pr-contains-action/compare/releases/v13...releases/v14
Published by JJ 9 months ago
Mainly documentation improvements here and there
waivedUsers
actually works now, you can use a |
-separated list of users for which checks will be waived.
Full Changelog: https://github.com/JJ/github-pr-contains-action/compare/releases/v11...releases/v13
Published by JJ 11 months ago
Minor user-facing changes in documentation, and dep upgrades, with new generated code.
Full Changelog: https://github.com/JJ/github-pr-contains-action/compare/releases/v11...releases/v12.1
Published by JJ 11 months ago
Thanks to @ApoorvGuptaAi , this now works with private repos.
Published by JJ about 1 year ago
Don't you hate when this fails with those (useful|pesky|annoying|take your pick) dependabot PRs? This new version is for you. It will simply let dependabot PRs pass; this is configurable, so if there's some other dev annoyed by PR checks that pulls rank, add login to the array and that's it.
Published by JJ over 1 year ago
This release will simply skip any check if it is not a pull request event. Since the payload it's working with is extracted from a pull request object in that payload, there's no alternative way to make it work if it's not a pull request. More information has been added to the README.md to that efffect.
Published by JJ over 1 year ago
Previous versions did not work at all, this works with limited functionality. It's some improvement, I guess.
Full Changelog: https://github.com/JJ/github-pr-contains-action/compare/releases/v8...releases/v9
Published by JJ over 1 year ago
It includes requests by most issues, and addresses them. Includes diffDoesNotContain
functionality, which makes a lot more sense than the opposite for the general public.
Published by JJ over 1 year ago
This release
Published by JJ over 1 year ago
This is really a bunch of releases, which I had forgot to actually release; I just tagged them. Just as well, anyway. It includes:
diffContains
if it's an empty stringbodyContains
/ bodyDoesNotContain
Published by JJ about 5 years ago
This release builds on the previous one, checking the contents of the body and the diff, as well as the number of files and lines changed.
Published by JJ about 5 years ago
This is just a simple action that uses the GitHub API to check for stuff present in a PR. It's mostly an exercise of getting to know how it works, but can be useful to check that marks have been made on a PR body, or that you are changing a specific line or text in the code.