Skip to content

Commit

Permalink
Test new threagile action fork
Browse files Browse the repository at this point in the history
  • Loading branch information
pritchyspritch committed May 3, 2024
1 parent f67b736 commit f689a62
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/update-threat-model.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Update Threat Model Outputs

permissions:
actions: read
contents: read

on:
push:
branches: [ main ]
paths:
- 'threagile-SSPHP-model.yaml'

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@add-optional-params
with:
optional-args: '--help'

- name: Run threagile
id: threagile
uses: pritchyspritch/run-threagile-action@add-optional-params
with:
model-file: 'threagile-SSPHP-model.yaml'
output-dir: 'test/location'


- name: Upload Artifacts
uses: actions/upload-artifact@4
with:
name: threat-model-output
path: test/location

0 comments on commit f689a62

Please sign in to comment.