Skip to content

Commit

Permalink
Align root workflows and filter event triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrzajac committed Jan 15, 2024
1 parent 454f9e4 commit 30faad9
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,29 @@
on:
pull_request:
paths:
- 'src/**'
- 'GitVersion.yml'
- 'src/**'
- '!src/qodana.yml'
- '.github/actions/**'
- '.github/workflows/**'
- '!.github/workflows/codeql.yml'
- '!.github/workflows/fossa-scan.yml'
- '!.github/workflows/qodana.yml'
- '!.github/workflows/semgrep.yml'
types: [opened, synchronize, reopened]
push:
branches:
- 'master'
paths:
- 'src/**'
- 'GitVersion.yml'
- 'src/**'
- '!src/qodana.yml'
- '.github/actions/**'
- '.github/workflows/**'
- '!.github/workflows/codeql.yml'
- '!.github/workflows/fossa-scan.yml'
- '!.github/workflows/qodana.yml'
- '!.github/workflows/semgrep.yml'
workflow_dispatch:
inputs:
buildAutoFakeItEasy:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ on:
pull_request:
paths:
- 'src/**'
- '!src/qodana.yml'
- '.github/workflows/codeql.yml'
types: [opened, synchronize, reopened]
push:
branches:
- 'master'
paths:
- 'src/**'
- '!src/qodana.yml'
- '.github/workflows/codeql.yml'
schedule:
- cron: '20 23 * * 0'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/fossa-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ on:
pull_request:
paths:
- 'src/**'
- '!src/qodana.yml'
- '.github/workflows/fossa-scan.yml'
types: [opened, synchronize, reopened]
push:
branches:
- 'master'
paths:
- 'src/**'
- '!src/qodana.yml'
- '.github/workflows/fossa-scan.yml'
workflow_dispatch:

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,24 @@ on:
pull_request:
paths:
- 'src/**'
- '!src/qodana.yml'
- '.github/workflows/semgrep.yml'
types: [opened, synchronize, reopened]
push:
branches:
- 'master'
paths:
- 'src/**'
- '!src/qodana.yml'
- '.github/workflows/semgrep.yml'
schedule:
- cron: '38 7 * * 0' # Random time
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
semgrep:
name: semgrep/ci
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test-mutations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,19 @@ name: '👾 Stryker.NET: Mutation testing'
on:
pull_request:
paths:
- 'src/**'
- 'stryker-config.yml'
- 'src/**'
- '!src/qodana.yml'
- '.github/workflows/test-mutations.yml'
- '.github/actions/materialize-signing-key/**'
types: [opened, synchronize, reopened]
push:
branches:
- 'master'
paths:
- 'src/**'
- 'stryker-config.yml'
- 'src/**'
- '!src/qodana.yml'
- '.github/workflows/test-mutations.yml'
- '.github/actions/materialize-signing-key/**'
workflow_dispatch:
Expand Down

0 comments on commit 30faad9

Please sign in to comment.