mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-25 12:10:03 +00:00
chore: Limit CI runs based on paths
This commit is contained in:
parent
d7ca8efbf0
commit
a2ac89301c
6
.github/workflows/build-and-test-macos.yaml
vendored
6
.github/workflows/build-and-test-macos.yaml
vendored
@ -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 }}
|
||||
|
16
.github/workflows/codeql.yml
vendored
16
.github/workflows/codeql.yml
vendored
@ -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}}'
|
||||
|
9
.github/workflows/web.yml
vendored
9
.github/workflows/web.yml
vendored
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user