mitre-attack / car

Cyber Analytics Repository
Apache License 2.0
889 stars 300 forks source link

Workflow to automatically regenerate /docs on every push to master and pr #167

Closed Amndeep7 closed 1 year ago

Amndeep7 commented 1 year ago

This PR requires further testing w/r to having the correct repo pulled down. Please don't merge it yet.

Amndeep7 commented 1 year ago

Tested it with help from @Hookwitz and @aaronlippold.

Successfully able to pull from forks' prs (https://github.com/Amndeep7/car/pull/1) and internal prs (https://github.com/Amndeep7/car/pull/2).

This pr is good for review/merge.

Amndeep7 commented 1 year ago

Add this snippet when #170 gets merged.

      - name: Regenerate datamodels
        working-directory: ./scripts
        run: python generate_datamodels.py