AI SummaryA GitHub Action that automatically checks PR bodies and diffs for specified strings or regex patterns, helping maintainers enforce contribution guidelines and quality standards. Developers managing open-source projects and CI/CD workflows benefit from automated validation rules.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "github-pr-contains-action — Copilot Instructions" prompt rules to my project. Repository: https://github.com/JJ/github-pr-contains-action Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
Action that checks whether the body or diff in a PR contains a certain word.
Project overview
This repository contains a GitHub action that examines the body of a PR in a repository as well as the differences in code and checks that they include or not include strings or regexes defined in the action.
Folder structure
• lib constains the source of the code action • dist shouldn't be modified, it's generated by compiling the source • test contains unit tests The root directory contains mainly configuration files and instructions
Libraries and Frameworks
Mainly those used by GitHub Actions. It uses Typescript for its source.
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts