You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/10/12 02:14:13 UTC

[GitHub] [dolphinscheduler] zhongjiajie commented on a diff in pull request #12326: [ci] Add path filter for CodeQL

zhongjiajie commented on code in PR #12326:
URL: https://github.com/apache/dolphinscheduler/pull/12326#discussion_r992918110


##########
.github/workflows/codeql.yaml:
##########
@@ -29,8 +29,24 @@ concurrency:
   cancel-in-progress: true
 
 jobs:
+  paths-filter:
+    name: CodeQL-Path-Filter
+    runs-on: ubuntu-latest
+    outputs:
+      not-ignore: ${{ steps.filter.outputs.not-ignore }}
+    steps:
+      - uses: actions/checkout@v2
+      - uses: dorny/paths-filter@b2feaf19c27470162a626bd6fa8438ae5b263721
+        id: filter
+        with:
+          # All `src` directory except `pydolphinscheduler/src`
+          filters: |
+            not-ignore:
+              - 'src/**'
+              - '!(pydolphinscheduler/src/**)'

Review Comment:
   I am not sure whether it work or not



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org