Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .github/workflows/ai-changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Generate Changelog for PR
name: Generate Changelog and Validate Docs for PR

on:
issue_comment:
Expand All @@ -23,3 +23,19 @@
uses: Automattic/vip-actions/ai-changelog-generator@a10bde8914496b7386d10fc5df9b4ffa2fd72ef1
with:
openai_api_key: ${{ secrets.OPENAI_API_KEY }}
docs-doctor:
name: Analyze docs.wpvip.com for inconsistencies
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
if: >
github.event.issue.pull_request &&
github.event.comment.body == '/docs-doctor'
steps:
- name: Generate Report
uses: Automattic/vip-actions/docs-doctor@trunk

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Generate Changelog and Validate Docs for PR' step
Uses Step
uses 'Automattic/vip-actions/docs-doctor' with ref 'trunk', not a pinned commit hash
with:
url: https://docs.wpvip.com
sitemap_url: https://docs.wpvip.com/page-sitemap.xml
openai_api_key: ${{ secrets.OPENAI_API_KEY }}
Loading