Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
]
},
"pkgchk-cli": {
"version": "0.1.180",
"version": "0.1.221",
"commands": [
"pkgchk"
]
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ jobs:
- name: Check SCA
run: |
dotnet tool restore
dotnet restore
dotnet pkgchk -t -o ./report
dotnet pkgchk --transitive true --output ./report

- name: SCA summary
if: always()
Expand Down Expand Up @@ -183,7 +182,7 @@ jobs:
name: Push to Nuget
runs-on: ubuntu-latest
needs: [ sca, style-rules, unit-tests, integration-tests, nuget-package ]
if: github.event_name == 'push'
if: github.event_name == 'push' && !startsWith(github.event.head_commit.message, 'Update tools')

steps:
- uses: actions/checkout@v3
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/sca.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "SCA"
name: "Scheduled SCA"

on:
workflow_dispatch:
Expand All @@ -15,6 +15,7 @@ on:

jobs:
sca:
name: Scheduled SCA
runs-on: ubuntu-latest

steps:
Expand All @@ -26,10 +27,8 @@ jobs:
- name: Check SCA
run: |
dotnet tool restore
dotnet restore
dotnet pkgchk -t -o ./report

- name: SCA summary
if: always()
run: |
cat ./report/pkgchk.md >> $GITHUB_STEP_SUMMARY
set +e
dotnet pkgchk --transitive true --output ./report
exitcode="$?"
cat ./report/pkgchk.md >> $GITHUB_STEP_SUMMARY
exit "$exitcode"