diff --git a/.github/workflows/mql-auto-format.yml b/.github/workflows/mql-auto-format.yml index c7966599400..fa2beb42870 100644 --- a/.github/workflows/mql-auto-format.yml +++ b/.github/workflows/mql-auto-format.yml @@ -22,7 +22,7 @@ jobs: run: pip install -q requests pyyaml - name: Format rules - run: python .github/scripts/mql_format.py detection-rules/*.yml insights/**/*.yml + run: python .github/scripts/mql_format.py detection-rules/*.yml dlp-discovery-rules/*.yml insights/**/*.yml - name: Open PR if rules changed uses: peter-evans/create-pull-request@v7 diff --git a/.github/workflows/rule-validate.yml b/.github/workflows/rule-validate.yml index 70ed20e6c74..dcaf369ebd7 100644 --- a/.github/workflows/rule-validate.yml +++ b/.github/workflows/rule-validate.yml @@ -145,7 +145,7 @@ jobs: if: github.event_name != 'issue_comment' run: | pip install -q requests pyyaml - python sublime-rules-main/.github/scripts/mql_format.py detection-rules/*.yml insights/**/*.yml + python sublime-rules-main/.github/scripts/mql_format.py detection-rules/*.yml dlp-discovery-rules/*.yml insights/**/*.yml # Delete path to prevent interference with later steps (such as git add and commit) rm -r sublime-rules-main