Skip to content

feat: integrate open-delivery-spec/validate-action@v1#12

Merged
shenxianpeng merged 4 commits into
mainfrom
feature/integrate-ods-validate-action
May 26, 2026
Merged

feat: integrate open-delivery-spec/validate-action@v1#12
shenxianpeng merged 4 commits into
mainfrom
feature/integrate-ods-validate-action

Conversation

@shenxianpeng

@shenxianpeng shenxianpeng commented May 26, 2026

Copy link
Copy Markdown
Member

Summary

Integrates open-delivery-spec/validate-action@v1 into all DevSecOps workflows — both the repo's own .github/workflows/devsecops.yml and all pipeline templates (Python, Go, Node.js, including embedded copies in src/cast_cli/templates/).

Type

  • Feature

AI Disclosure

  • This PR contains AI-generated code
  • AI Tool: N/A

Changes

  • New ods job added to all 7 workflow files, running open-delivery-spec/validate-action@v1 with check: all and strict: true
  • Validates branch naming (github.head_ref), commit messages (github.event.head_commit.message), and PR descriptions (github.event.pull_request.body) against Open Delivery Spec standards
  • Security gate updatedods added to gate dependencies and result check; non-conformant submissions block merge
  • Changelog updated under [Unreleased]

Testing

  • CI self-testing: the ODS Validate job itself acts as the integration test
  • Verified branch naming check passes (feature/integrate-ods-validate-action)

Checklist

  • Branch follows ODS naming convention
  • PR description follows ODS spec
  • No breaking changes

How it works

The validate-action composite action runs with check: all and skips checks whose inputs aren't available for the current event type:

  • On PR events: validates branch naming + PR description
  • On push events: validates commit message

Files modified

File Change
.github/workflows/devsecops.yml Added ods job (#7), gate becomes #8
templates/python/devsecops.yml Added ods job (#6), gate becomes #7
templates/go/devsecops.yml Same
templates/nodejs/devsecops.yml Same
src/cast_cli/templates/python/devsecops.yml Same
src/cast_cli/templates/go/devsecops.yml Same
src/cast_cli/templates/nodejs/devsecops.yml Same
CHANGELOG.md Added entry under [Unreleased]

Closes #11

…workflows

Add ODS Validate job to all GitHub Actions workflows (repo + templates)
that validates branch naming, commit messages, and PR descriptions
against Open Delivery Spec standards. Non-conformant submissions
trigger gate failure.

Closes #11
Add .github/PULL_REQUEST_TEMPLATE.md with required ODS sections
(Type, AI Disclosure, Testing, Checklist) so future PRs automatically
include all mandatory fields.
Show pipeline status (including ODS validation) and ODS compliance
in both English and Chinese READMEs.
@shenxianpeng shenxianpeng added the enhancement New feature or request label May 26, 2026
@shenxianpeng shenxianpeng merged commit a8a6945 into main May 26, 2026
7 checks passed
@shenxianpeng shenxianpeng deleted the feature/integrate-ods-validate-action branch May 26, 2026 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Iintegrate with open-delivery-spec/validate-action@v1

1 participant