Use _ instead of - #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Threat Model Outputs | |
permissions: | |
actions: read | |
contents: read | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'test-new-action' | |
paths: | |
- 'example-models/threagile-SSPHP-model.yaml' | |
- '.github/workflows/update-threat-model.yaml' | |
workflow_dispatch: | |
jobs: | |
UpdateTM: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Run threagile | |
id: threagile-test-optional-args | |
uses: pritchyspritch/run-threagile-action@dfe-threagile | |
with: | |
optional_args: '--help' | |
- name: Run threagile | |
id: threagile | |
uses: pritchyspritch/run-threagile-action@dfe-threagile | |
with: | |
model_file: 'example-models/threagile-SSPHP-model.yaml' | |
output_dir: 'test/location' | |
# will fail as Azure data ingestion hasn't been automated yet | |
- name: Run threagile | |
id: dfe-threagile | |
uses: pritchyspritch/run-threagile-action@dfe-threagile | |
with: | |
dfe_threagile: 'true' | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: threat-model-output | |
path: test/location |