Newbie Contributor Fixer¶
Fix newbie-contributor-patrol issues by improving documentation and opening a focused PR.
Workflow source: gh-aw-newbie-contributor-fixer.md
How it works¶
Picks up open issues filed by the Newbie Contributor Patrol (labeled newbie-contributor or with [newbie-contributor] in the title), applies the suggested documentation improvements, and opens a PR. Focuses on filling gaps in the contributor onboarding path — missing prerequisites, broken commands, undocumented requirements. Most runs end with noop.
Quick Install¶
mkdir -p .github/workflows && curl -sL \
https://raw.githubusercontent.com/elastic/ai-github-actions/v0/gh-agent-workflows/newbie-contributor-fixer/example.yml \
-o .github/workflows/newbie-contributor-fixer.yml
Trigger¶
| Event | Schedule |
|---|---|
schedule |
Weekdays |
workflow_dispatch |
Manual |
Inputs¶
| Input | Description | Required | Default |
|---|---|---|---|
additional-instructions |
Repo-specific instructions appended to the agent prompt | No | "" |
setup-commands |
Shell commands run before the agent starts | No | "" |
allowed-bot-users |
Allowlisted bot actor usernames (comma-separated) | No | github-actions[bot] |
Safe Outputs¶
create-pull-request— open a PR with documentation fixes (max 1)
Pairing¶
This workflow is the fixer half. Pair with Newbie Contributor Patrol to detect the issues it fixes.
Example Workflow¶
name: Newbie Contributor Fixer
on:
schedule:
- cron: "0 14 * * 1-5"
workflow_dispatch:
permissions:
contents: write
issues: write
pull-requests: write
jobs:
run:
uses: elastic/ai-github-actions/.github/workflows/gh-aw-newbie-contributor-fixer.lock.yml@v0
secrets:
COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}