mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 05:12:55 -07:00
docs: Update docs-audit to include changes in PR body (#25153)
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: 'Weekly Docs Audit'
|
name: 'Automated Documentation Audit'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
@@ -26,6 +26,7 @@ jobs:
|
|||||||
node-version: '20'
|
node-version: '20'
|
||||||
|
|
||||||
- name: 'Run Docs Audit with Gemini'
|
- name: 'Run Docs Audit with Gemini'
|
||||||
|
id: 'run_gemini'
|
||||||
uses: 'google-github-actions/run-gemini-cli@a3bf79042542528e91937b3a3a6fbc4967ee3c31'
|
uses: 'google-github-actions/run-gemini-cli@a3bf79042542528e91937b3a3a6fbc4967ee3c31'
|
||||||
with:
|
with:
|
||||||
gemini_api_key: '${{ secrets.GEMINI_API_KEY }}'
|
gemini_api_key: '${{ secrets.GEMINI_API_KEY }}'
|
||||||
@@ -33,17 +34,28 @@ jobs:
|
|||||||
Activate the 'docs-writer' skill.
|
Activate the 'docs-writer' skill.
|
||||||
|
|
||||||
**Task:** Execute the docs audit procedure, as defined in your 'docs-auditing.md' reference.
|
**Task:** Execute the docs audit procedure, as defined in your 'docs-auditing.md' reference.
|
||||||
|
Provide a detailed summary of the changes you make.
|
||||||
|
|
||||||
|
- name: 'Get current date'
|
||||||
|
id: 'date'
|
||||||
|
run: |
|
||||||
|
echo "date=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: 'Create Pull Request with Audit Results'
|
- name: 'Create Pull Request with Audit Results'
|
||||||
uses: 'peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c'
|
uses: 'peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c'
|
||||||
with:
|
with:
|
||||||
token: '${{ secrets.GEMINI_CLI_ROBOT_GITHUB_PAT }}'
|
token: '${{ secrets.GEMINI_CLI_ROBOT_GITHUB_PAT }}'
|
||||||
commit-message: 'docs: weekly audit results for ${{ github.run_id }}'
|
commit-message: 'docs: weekly audit results for ${{ github.run_id }}'
|
||||||
title: 'Docs Audit for Week of ${{ github.event.schedule }}'
|
title: 'Docs audit: ${{ steps.date.outputs.date }}'
|
||||||
body: |
|
body: |
|
||||||
This PR contains the auto-generated documentation audit for the week. It includes a new `audit-results-*.md` file with findings and any direct fixes applied by the agent.
|
This PR contains the auto-generated documentation audit for the week. It includes a new `audit-results-*.md` file with findings and any direct fixes applied by the agent.
|
||||||
|
|
||||||
|
### Audit Summary:
|
||||||
|
${{ steps.run_gemini.outputs.summary || 'No summary provided.' }}
|
||||||
|
|
||||||
Please review the suggestions and merge.
|
Please review the suggestions and merge.
|
||||||
|
|
||||||
|
Related to #25152
|
||||||
branch: 'docs-audit-${{ github.run_id }}'
|
branch: 'docs-audit-${{ github.run_id }}'
|
||||||
base: 'main'
|
base: 'main'
|
||||||
team-reviewers: 'gemini-cli-docs, gemini-cli-maintainers'
|
team-reviewers: 'gemini-cli-docs, gemini-cli-maintainers'
|
||||||
|
|||||||
Reference in New Issue
Block a user