diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index c0be1ce66..e22087a22 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -19,10 +19,18 @@ on: paths-ignore: - 'docs/**' - '**.md' + - 'tests/**' + - '!tests/**.sh' + - '!tests/apitests/**' + - '!tests/ci/**' push: paths-ignore: - 'docs/**' - '**.md' + - 'tests/**' + - '!tests/**.sh' + - '!tests/apitests/**' + - '!tests/ci/**' jobs: UTTEST: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 819dff67b..505412450 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -5,10 +5,18 @@ on: paths-ignore: - 'docs/**' - '**.md' + - 'tests/**' + - '!tests/**.sh' + - '!tests/apitests/**' + - '!tests/ci/**' pull_request: paths-ignore: - 'docs/**' - '**.md' + - 'tests/**' + - '!tests/**.sh' + - '!tests/apitests/**' + - '!tests/ci/**' schedule: - cron: '0 16 * * 6' @@ -29,7 +37,7 @@ jobs: # the head of the pull request instead of the merge commit. - run: git checkout HEAD^2 if: ${{ github.event_name == 'pull_request' }} - + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/pass-CI.yml b/.github/workflows/pass-CI.yml new file mode 100644 index 000000000..86effa223 --- /dev/null +++ b/.github/workflows/pass-CI.yml @@ -0,0 +1,25 @@ +name: CI + +on: + pull_request: + paths: + - 'docs/**' + - '**.md' + - 'tests/**' + - '!tests/**.sh' + - '!tests/apitests/**' + - '!tests/ci/**' + push: + paths: + - 'docs/**' + - '**.md' + - 'tests/**' + - '!tests/**.sh' + - '!tests/apitests/**' + - '!tests/ci/**' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - run: 'echo "No build required"' diff --git a/.github/workflows/pass-codeql-analysis.yml b/.github/workflows/pass-codeql-analysis.yml new file mode 100644 index 000000000..7dce06a32 --- /dev/null +++ b/.github/workflows/pass-codeql-analysis.yml @@ -0,0 +1,25 @@ +name: "Code scanning - action" + +on: + push: + paths: + - 'docs/**' + - '**.md' + - 'tests/**' + - '!tests/**.sh' + - '!tests/apitests/**' + - '!tests/ci/**' + pull_request: + paths: + - 'docs/**' + - '**.md' + - 'tests/**' + - '!tests/**.sh' + - '!tests/apitests/**' + - '!tests/ci/**' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - run: 'echo "No build required"'