Submission and registry payloads
The GitHub Action can do more than fail a pull request. It can also open or reuse ecosystem submission issues and emit a registry payload file for downstream automation.
Submission flowDirect link to Submission flow
The intended path is:
- add the scanner action to plugin CI
- require
min_score: 80and a severity gate such asfail_on_severity: high - enable submission mode with a token that has
issues:writeonhashgraph-online/awesome-codex-plugins - when the plugin clears the threshold, the action opens or reuses a submission issue
- the issue body includes machine-readable registry payload data so the same event can drive ecosystem automation
Example:
permissions:
contents: read
jobs:
scan-plugin:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Scan and submit if eligible
id: scan
uses: hashgraph-online/ai-plugin-scanner-action@v1
with:
plugin_dir: "."
min_score: 80
fail_on_severity: high
submission_enabled: true
submission_score_threshold: 80
submission_token: ${{ secrets.AWESOME_CODEX_PLUGINS_TOKEN }}
submission_token is required when submission_enabled: true. The flow is idempotent: if the plugin repository was already submitted, the action reuses the existing open issue instead of opening duplicates.
Action outputsDirect link to Action outputs
High-value outputs include:
scoregradegrade_labelmax_severityfindings_totalsubmission_performedsubmission_issue_urls
Registry payload exportDirect link to Registry payload export
If you want to feed the same scan into a registry, badge pipeline, or another plugin ecosystem automation step, request a registry payload file directly from the action:
permissions:
contents: read
jobs:
scan-plugin:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Scan plugin
id: scan
uses: hashgraph-online/ai-plugin-scanner-action@v1
with:
plugin_dir: "."
format: sarif
output: ai-plugin-scanner.sarif
registry_payload_output: ai-plugin-registry-payload.json
- name: Upload registry payload
uses: actions/upload-artifact@v4
with:
name: ai-plugin-registry-payload
path: ${{ steps.scan.outputs.registry_payload_path }}
The registry payload mirrors the submission data used by HOL ecosystem automation, so one scan can drive code scanning, review summaries, awesome-list intake, and registry trust ingestion.