Import contribution-check workflow from github/gh-aw#161
Merged
Conversation
This workflow provides scheduled batch review of open pull requests against contribution guidelines. It orchestrates evaluation using a dedicated subagent and compiles prioritized reports to help maintainers efficiently triage community contributions. Source: https://github.com/github/gh-aw/blob/main/.github/workflows/contribution-check.md Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
pelikhan
approved these changes
Feb 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR imports the contribution-check workflow from the github/gh-aw repository and adapts it for general use in the agentics collection.
Source
https://github.com/github/gh-aw/blob/main/.github/workflows/contribution-check.md
What it does
The contribution-check workflow provides scheduled batch review of open pull requests against a repository's contribution guidelines. It:
.github/agents/contribution-checker.agent.md)Adaptations made
The original workflow was specific to the openclaw/openclaw project. The following changes were made to generalize it:
Removed hardcoded repository references: The original used
TARGET_REPOSITORYenv var with a default ofopenclaw/openclaw. Generalized to usegithub.repositoryfor the current repository.Removed target-repo parameters: The original had
target-repoparameters in safe-outputs pointing to an external repository. The generalized version evaluates PRs in the repository where it's installed.Added source attribution: Added
source:field in frontmatter pointing to the original workflow URL.Created subagent file: Copied the
.github/agents/contribution-checker.agent.mdsubagent that the orchestrator depends on.Updated permissions: Changed to
pull-requests: writesince the workflow posts comments and labels to PRs.Created documentation: Added comprehensive docs page following the established pattern in this repository.
Category
Added to Code Review Workflows section in README.md, as this workflow helps review and triage community contributions.
Files changed
workflows/contribution-check.md- Main orchestrator workflow.github/agents/contribution-checker.agent.md- Subagent that evaluates individual PRsdocs/contribution-check.md- Documentation pageREADME.md- Added entry in Code Review Workflows sectionNotes
Compilation pending: The workflow has not been compiled yet (no .lock.yml file) as the awf compile command requires Docker which isn't available in this environment. The workflow should be compiled with
gh aw compile workflows/contribution-check.mdafter merging.Dependencies: This workflow depends on the repository having a
CONTRIBUTING.mdfile (or.github/CONTRIBUTING.mdordocs/CONTRIBUTING.md). If no contribution guidelines exist, PRs will be marked withno-guidelinesquality.Customization needed: Before use, repositories should review the filter logic in the
github-scriptstep and adjust theSKIP_LABELSandSMALL_LABELSsets to match their labeling conventions.Testing
The workflow structure follows the same pattern as existing workflows in this repository. It has been verified for:
The workflow will need actual runtime testing after compilation to ensure the orchestrator → subagent flow works correctly.