diff --git a/.codeqlignore b/.codeqlignore deleted file mode 100644 index 88e319db0..000000000 --- a/.codeqlignore +++ /dev/null @@ -1,8 +0,0 @@ -**/archive/** -**/legacy/** -**/src/matrix/** -**/src/telegram/** -**/src/irc/** -**/jest/** -**/build/** -**/@prisma-moodle/** \ No newline at end of file diff --git a/.github/workflows/PullRequestOpenAll.yml b/.github/workflows/PullRequestOpenAll.yml index caf8a94e0..a29437d23 100644 --- a/.github/workflows/PullRequestOpenAll.yml +++ b/.github/workflows/PullRequestOpenAll.yml @@ -9,6 +9,17 @@ on: - opened - synchronize - reopened + paths: + - src + paths-ignore: + - '**/archive/**' + - '**/legacy/**' + - '**/matrix/**' + - '**/telegram/**' + - '**/irc/**' + - '**/jest/**' + - '**/build/**' + - '**/@prisma-moodle/**' jobs: lint: @@ -47,7 +58,7 @@ jobs: # run: cp .env.example .env # - name: Test # run: npx jest --silent -c ./src/jest/jest.unit.config.ts - codeql: + codeql: name: CodeQL runs-on: ubuntu-latest env: diff --git a/.github/workflows/PushToMain.yml b/.github/workflows/PushToMain.yml index 6800a4be8..b2be2a243 100644 --- a/.github/workflows/PushToMain.yml +++ b/.github/workflows/PushToMain.yml @@ -4,7 +4,17 @@ on: push: branches: - main - + paths: + - src + paths-ignore: + - '**/archive/**' + - '**/legacy/**' + - '**/matrix/**' + - '**/telegram/**' + - '**/irc/**' + - '**/jest/**' + - '**/build/**' + - '**/@prisma-moodle/**' jobs: lint: name: Lint