diff --git a/.github/workflows/build-and-test-macos.yaml b/.github/workflows/build-and-test-macos.yaml index 802beea6..5fee8708 100644 --- a/.github/workflows/build-and-test-macos.yaml +++ b/.github/workflows/build-and-test-macos.yaml @@ -3,9 +3,15 @@ on: push: branches: - main + paths-ignore: + - web/** + - doc/** pull_request: branches: - main + paths-ignore: + - web/** + - doc/** concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 7a2f42ca..4ab98d14 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,13 +1,17 @@ -name: "CodeQL" +name: 'CodeQL' on: push: - branches: ["main"] + branches: ['main'] + paths: + - src/** pull_request: # The branches below must be a subset of the branches above - branches: ["main"] + branches: ['main'] + paths: + - src/** schedule: - - cron: "20 2 * * 0" + - cron: '20 2 * * 0' concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -25,7 +29,7 @@ jobs: strategy: fail-fast: false matrix: - language: ["cpp", "javascript", "python"] + language: ['cpp', 'javascript', 'python'] # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] # Use only 'java' to analyze code written in Java, Kotlin or both # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both @@ -94,4 +98,4 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 with: - category: "/language:${{matrix.language}}" + category: '/language:${{matrix.language}}' diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index f48ba4c6..0d1592e5 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -1,12 +1,21 @@ name: Web CI + on: push: branches: [main] + paths: + - web/** + - doc/** pull_request: branches: [main] + paths: + - web/** + - doc/** + concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true + jobs: build: runs-on: ubuntu-latest diff --git a/web/netlify.toml b/web/netlify.toml index 61914e98..646fa134 100644 --- a/web/netlify.toml +++ b/web/netlify.toml @@ -5,7 +5,6 @@ publish = ".next" # Include the doc dir in the build ignore command ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../doc/" - [[plugins]] package = "@netlify/plugin-nextjs"