Skip to content

Commit 1144524

Browse files
authored
chore: Removed CodeQL from pipeline (#239)
1 parent 54dc2ac commit 1144524

9 files changed

+0
-150
lines changed

.github/workflows/build-dotnet-fast.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ on:
55
required: false
66
type: boolean
77
default: false
8-
disableCodeQL:
9-
required: false
10-
type: boolean
11-
default: false
128
disableCoverageUpload:
139
required: false
1410
type: boolean

.github/workflows/build-dotnet-matrix.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ on:
55
required: false
66
type: boolean
77
default: false
8-
disableCodeQL:
9-
required: false
10-
type: boolean
11-
default: false
128
disableCoverageUpload:
139
required: false
1410
type: boolean
@@ -101,20 +97,6 @@ jobs:
10197
runs-on: ${{ inputs.runsOnBuild || 'ubuntu-latest' }}
10298
secrets: inherit
10399

104-
codeql:
105-
name: CodeQL Analysis
106-
if: ${{ !inputs.disableCodeQL }}
107-
uses: ./.github/workflows/step-dotnet-codeql.yml
108-
needs:
109-
- commitlinter
110-
with:
111-
dotnet-logging: ${{ inputs.dotnetLogging || 'minimal' }}
112-
dotnet-version: ${{ inputs.dotnetVersion || '8.x' }}
113-
dotnet-quality: ${{ inputs.dotnetQuality || 'ga' }}
114-
runs-on: ${{ inputs.runsOnBuild || 'ubuntu-latest' }}
115-
solution: ${{ inputs.solution }}
116-
secrets: inherit
117-
118100
tests:
119101
name: Run Tests
120102
uses: ./.github/workflows/step-dotnet-tests.yml
@@ -150,7 +132,6 @@ jobs:
150132
needs:
151133
- tests
152134
- format
153-
- codeql
154135
with:
155136
dotnet-logging: ${{ inputs.dotnetLogging || 'minimal' }}
156137
dotnet-version: ${{ inputs.dotnetVersion || '8.x' }}

.github/workflows/build-dotnet-single.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ on:
55
required: false
66
type: boolean
77
default: false
8-
disableCodeQL:
9-
required: false
10-
type: boolean
11-
default: false
128
disableCoverageUpload:
139
required: false
1410
type: boolean
@@ -85,20 +81,6 @@ jobs:
8581
runs-on: ${{ inputs.runsOnBuild || 'ubuntu-latest' }}
8682
secrets: inherit
8783

88-
codeql:
89-
name: CodeQL Analysis
90-
if: ${{ !inputs.disableCodeQL }}
91-
uses: ./.github/workflows/step-dotnet-codeql.yml
92-
needs:
93-
- commitlinter
94-
with:
95-
dotnet-logging: ${{ inputs.dotnetLogging || 'minimal' }}
96-
dotnet-version: ${{ inputs.dotnetVersion || '8.x' }}
97-
dotnet-quality: ${{ inputs.dotnetQuality || 'ga' }}
98-
runs-on: ${{ inputs.runsOnBuild || 'ubuntu-latest' }}
99-
solution: ${{ inputs.solution }}
100-
secrets: inherit
101-
10284
tests:
10385
name: Run Tests
10486
uses: ./.github/workflows/step-dotnet-tests.yml
@@ -123,7 +105,6 @@ jobs:
123105
needs:
124106
- tests
125107
- format
126-
- codeql
127108
with:
128109
dotnet-logging: ${{ inputs.dotnetLogging || 'minimal' }}
129110
dotnet-version: ${{ inputs.dotnetVersion || '8.x' }}

.github/workflows/cicd-dotnet.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ on:
55
required: false
66
type: boolean
77
default: false
8-
disableCodeQL:
9-
required: false
10-
type: boolean
11-
default: false
128
disableCoverageUpload:
139
required: false
1410
type: boolean

.github/workflows/local-testproject-archiduct.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
name: Build & Tests
1717
uses: ./.github/workflows/build-dotnet-matrix.yml
1818
with:
19-
disableCodeQL: true
2019
disableTestsOnWindows: true
2120
dotnetVersion: ${{ vars.NE_DOTNET_TARGETFRAMEWORKS }}
2221
dotnetQuality: ${{ vars.NE_DOTNET_QUALITY }}

.github/workflows/local-testproject-healthchecks.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
name: Build & Tests
1717
uses: ./.github/workflows/build-dotnet-single.yml
1818
with:
19-
disableCodeQL: true
2019
dotnetVersion: ${{ vars.NE_DOTNET_TARGETFRAMEWORKS }}
2120
dotnetQuality: ${{ vars.NE_DOTNET_QUALITY }}
2221
enableCleanUpDockerDocker: true

.github/workflows/local-testproject-hosting-winforms.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
uses: ./.github/workflows/build-dotnet-single.yml
1818
with:
1919
disableCodeFormat: true
20-
disableCodeQL: true
2120
dotnetVersion: ${{ vars.NE_DOTNET_TARGETFRAMEWORKS }}
2221
dotnetQuality: ${{ vars.NE_DOTNET_QUALITY }}
2322
enableCleanUpDockerDocker: true

.github/workflows/step-dotnet-codeql.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -64,33 +64,6 @@ jobs:
6464

6565
This step has an _optional_ secret `FETCH_TOKEN` that can be used to fetch the dependencies from the private repositories. The secret should contain the GitHub token that has the permissions to fetch the dependencies. If the secret is not set, the dependencies will be fetched using the default `{{ github.token }}`.
6666

67-
### `step-dotnet-codeql.yml`
68-
69-
This template will analyze the application using the CodeQL and upload the analysis results to the GitHub as an artifact `codeql`.
70-
71-
To use this template, you need to add the following code to your workflow file:
72-
73-
```yaml
74-
jobs:
75-
codeql:
76-
runs-on: ubuntu-latest
77-
steps:
78-
- uses: dailydevops/pipelines/.github/workflows/[email protected]
79-
```
80-
81-
#### Parameters
82-
83-
| Parameter | Description | Required | Default |
84-
| ---------------- | ----------------------------------------- | :------: | --------------- |
85-
| `dotnet-version` | The version of the dotnet SDK to use. | ❌ | `8.x` |
86-
| `dotnet-quality` | The quality of the dotnet SDK to use. | ❌ | `ga` |
87-
| `runs-on` | The runner to use. | ❌ | `ubuntu-latest` |
88-
| `solution` | The path to the solution or project file. | ✅ | |
89-
90-
#### Secrets
91-
92-
This step has an _optional_ secret `FETCH_TOKEN` that can be used to fetch the dependencies from the private repositories. The secret should contain the GitHub token that has the permissions to fetch the dependencies. If the secret is not set, the dependencies will be fetched using the default `{{ github.token }}`.
93-
9467
### `step-dotnet-draft-release.yml`
9568

9669
### `step-dotnet-format.yml`

0 commit comments

Comments
 (0)