Skip to content

Commit e89178b

Browse files
committed
Fixed the GitHub action and added the possibility to write the artefacts to file
Fixed the GitHub action and added the possibility to write the artefacts to file
1 parent 2f4b5a1 commit e89178b

File tree

6 files changed

+28
-2
lines changed

6 files changed

+28
-2
lines changed

.github/workflows/addToProject.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ jobs:
1616
- uses: actions/add-to-project@v1.0.2
1717
with:
1818
project-url: https://github.com/SoftwareDevLabs
19-
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
19+
github-token: ${{ secrets.GITHUB_TOKEN }}
2020
labeled: Issue-Feature, Needs-Triage, Needs-Author-Feedback, Issue-Scenario
2121
label-operator: NOT

.github/workflows/codeql.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,9 @@ jobs:
9898
uses: github/codeql-action/analyze@v3
9999
with:
100100
category: "/language:${{matrix.language}}"
101+
output: codeql-results.sarif
102+
- name: Upload CodeQL SARIF report
103+
uses: actions/upload-artifact@v4
104+
with:
105+
name: codeql-results
106+
path: codeql-results.sarif

.github/workflows/gosec.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,9 @@ jobs:
2323
- name: Install gosec
2424
run: go install github.com/securego/gosec/v2/cmd/gosec@latest
2525
- name: Run gosec
26-
run: ~/go/bin/gosec ./...
26+
run: ~/go/bin/gosec -fmt=json -out=gosec-report.json ./...
27+
- name: Upload GoSec report
28+
uses: actions/upload-artifact@v4
29+
with:
30+
name: gosec-report
31+
path: gosec-report.json

.github/workflows/metrics.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,8 @@ jobs:
2525
git add metrics.svg
2626
git commit -m "chore: update metrics [skip ci]" || echo "No changes to commit"
2727
git push
28+
- name: Upload metrics SVG
29+
uses: actions/upload-artifact@v4
30+
with:
31+
name: metrics-svg
32+
path: metrics.svg

.github/workflows/spelling2.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ jobs:
141141
cspell:python/python/python.txt
142142
cspell:mnemonics/mnemonics.txt
143143
cspell:powershell/powershell.txt
144+
- name: Upload SARIF report
145+
uses: actions/upload-artifact@v4
146+
with:
147+
name: check-spelling-sarif
148+
path: check-spelling.sarif
144149

145150
comment-push:
146151
name: Report (Push)

.github/workflows/super-linter.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,8 @@ jobs:
3232
env:
3333
# To report GitHub Actions status checks
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
- name: Upload Super-Linter report
36+
uses: actions/upload-artifact@v4
37+
with:
38+
name: super-linter-report
39+
path: super-linter.report

0 commit comments

Comments
 (0)