Skip to content
Closed
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: 2 additions & 0 deletions .github/workflows/Steeltoe.All.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ jobs:

- name: Git checkout
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Restore packages
run: dotnet restore ${{ env.SOLUTION_FILE }} /p:Configuration=Release --verbosity minimal
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/component-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:

jobs:
linux:
uses: ./.github/workflows/component-shared-workflow.yml
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/component-configuration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:

jobs:
linux:
uses: ./.github/workflows/component-shared-workflow.yml
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/component-connectors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:

jobs:
linux:
uses: ./.github/workflows/component-shared-workflow.yml
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/component-discovery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:

jobs:
linux:
uses: ./.github/workflows/component-shared-workflow.yml
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/component-logging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:

jobs:
linux:
uses: ./.github/workflows/component-shared-workflow.yml
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/component-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:

jobs:
linux:
uses: ./.github/workflows/component-shared-workflow.yml
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/component-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:

jobs:
linux:
uses: ./.github/workflows/component-shared-workflow.yml
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/component-shared-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ jobs:

- name: Git checkout
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Restore packages
run: dotnet restore ${{ env.SOLUTION_FILE }} /p:Configuration=Release --verbosity minimal
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:

- name: Git checkout
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Restore packages
run: dotnet restore ${{ env.SOLUTION_FILE }} /p:Configuration=Release --verbosity minimal
Expand Down Expand Up @@ -261,6 +263,8 @@ jobs:
steps:
- name: Git checkout
uses: actions/checkout@v4
with:
persist-credentials: true

- name: Calculate next package version
shell: pwsh
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/scan-vulnerable-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:

- name: Git checkout
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Report vulnerable dependencies
run: dotnet restore ${{ env.SOLUTION_FILE }} --verbosity minimal /p:NuGetAudit=true /p:NuGetAuditMode=all /p:NuGetAuditLevel=low /p:TreatWarningsAsErrors=True
1 change: 1 addition & 0 deletions .github/workflows/sonarcube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
- name: Git checkout
uses: actions/checkout@v4
with:
persist-credentials: false
# Sonar: Shallow clones should be disabled for a better relevancy of analysis.
fetch-depth: 0

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/verify-code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
- name: Git checkout
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 2

- name: Restore tools
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: GHA Security Analysis with zizmor

on:
workflow_dispatch:
push:
branches:
- main
- '[0-9]+.x'
pull_request:

permissions:
security-events: write

jobs:
zizmor:
name: Run zizmor
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Run zizmor
uses: zizmorcore/[email protected]
5 changes: 5 additions & 0 deletions zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
rules:
unpinned-uses:
config:
policies:
"*": ref-pin
Loading