Skip to content

Add MASWE Build workflow to generate OWASP_MASWE.yaml - #192

Merged
cpholguera merged 1 commit into
mainfrom
maswe-yaml-docgenerator
Aug 17, 2026
Merged

Add MASWE Build workflow to generate OWASP_MASWE.yaml#192
cpholguera merged 1 commit into
mainfrom
maswe-yaml-docgenerator

Conversation

@cpholguera

@cpholguera cpholguera commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

Adds a release/build workflow to the MASWE repo, mirroring docgenerator.yml in the MASVS repo.

  • .github/workflows/docgenerator.yml (MASWE Build): on every push and on workflow_dispatch, it resolves the MASWE version (latest tag, suffixed with the short SHA when not building a tag), generates OWASP_MASWE.yaml, and uploads it as an artifact. On a tag push by a maintainer, a second job attaches the YAML to a draft GitHub release with generated release notes and an Announcements discussion.
  • tools/generate_maswe_yaml.py: the export_maswe_yaml.py script, moved into tools/ and renamed to match the MASVS naming. It collects the YAML front matter of every weaknesses/**/MASWE-*.md file, keyed by MASWE ID.
  • OWASP_MASWE.yaml added to .gitignore (build artifact), plus a build badge in the README.

Mirrors the MASVS docgenerator workflow: builds OWASP_MASWE.yaml from
the weakness front matter on every push, uploads it as an artifact, and
attaches it to a draft release when a tag is pushed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@cpholguera
cpholguera merged commit 308b82b into main Aug 17, 2026
5 checks passed
@cpholguera
cpholguera deleted the maswe-yaml-docgenerator branch August 17, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant