Skip to content

Commit

Permalink
Test new action
Browse files Browse the repository at this point in the history
  • Loading branch information
pritchyspritch committed May 15, 2024
1 parent f287212 commit 2ac1512
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/update-threat-model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ permissions:

on:
push:
branches: [ main ]
branches:
- 'main'
- 'test-new-action'
paths:
- 'threagile-SSPHP-model.yaml'
- 'example-models/threagile-SSPHP-model.yaml'
- '.github/workflows/update-threat-model.yaml'
workflow_dispatch:
jobs:
Expand All @@ -21,17 +23,23 @@ jobs:

- name: Run threagile
id: threagile-test-optional-args
uses: pritchyspritch/run-threagile-action@v2
uses: pritchyspritch/run-threagile-action@dfe-threagile
with:
optional-args: '--help'

- name: Run threagile
id: threagile
uses: pritchyspritch/run-threagile-action@v2
uses: pritchyspritch/run-threagile-action@dfe-threagile
with:
model-file: 'threagile-SSPHP-model.yaml'
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
Expand Down

0 comments on commit 2ac1512

Please sign in to comment.