Skip to content

ci: automate release info update PRs#242

Open
scotluns wants to merge 1 commit into
mainfrom
ci-auto-release-info-pr
Open

ci: automate release info update PRs#242
scotluns wants to merge 1 commit into
mainfrom
ci-auto-release-info-pr

Conversation

@scotluns
Copy link
Copy Markdown
Contributor

Why

This adds the mitreattack-python side of the automated ATT&CK release metadata flow, so a PR can be opened once both STIX release repos have matching published assets.

What Changed

  • Adds a manually runnable and scheduled workflow that runs scripts/update_release_info.py
  • Uses the existing updater as the readiness gate: mismatched upstream latest versions fail before a PR is created
  • Opens or updates a deterministic automation/update-release-info-<version> PR when mitreattack/release_info.py changes
  • Uses the ATTACK_AUTOBOT GitHub App token so the generated PR can run normal repository checks

Relationship

Companion to mitre-attack/attack-stix-data#71. That PR dispatches this workflow when an attack-stix-data release is published; this PR receives the dispatch, validates both STIX release sources through the updater, and creates the actual mitreattack-python metadata PR.

How To Verify

  • Ruby YAML parse check passed locally for .github/workflows/update-release-info-pr.yml

Known Gaps

  • actionlint is not installed locally, so GitHub Actions semantic linting was not run.

@sonarqubecloud
Copy link
Copy Markdown

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