Skip to content

Commit

Permalink
Test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shashank-elastic committed Sep 18, 2024
1 parent 0fd8d9a commit 16040cd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/attack-coverage-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ on:
default: '--update-coverage'
pull_request:
branches: [ "*" ]

inputs:
update-coverage:
description: 'Update the docs/ATT&CK-coverage.md file'
required: true
default: '--update-coverage'
jobs:
pr:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -44,7 +48,7 @@ jobs:
GITHUB_TOKEN: "${{ secrets.NAVIGATOR_GIST_TOKEN }}"
run: |
set -x
python -m detection_rules dev update-navigator-gists --update-coverage
python -m detection_rules dev update-navigator-gists ${{ github.event.inputs.update-coverage }}
file_name = $(git diff --name-only)
if [ "docs/ATT&CK-coverage.md" == "$file_name" ];
then
Expand Down

0 comments on commit 16040cd

Please sign in to comment.