Skip to content

Commit 6df1520

Browse files
committed
Fix static analysis workflow usage
1 parent 3a2e1fe commit 6df1520

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/release.yml

+3-8
Original file line numberDiff line numberDiff line change
@@ -131,20 +131,15 @@ jobs:
131131
132132
static-analysis:
133133
needs: prepare-release
134-
environment: release
135134
name: "Run Static Analysis"
136-
runs-on: ubuntu-latest
135+
uses: ./.github/workflows/static-analysis.yml
136+
with:
137+
ref: refs/tags/${{ inputs.version }}
137138
permissions:
138139
security-events: read
139140
id-token: write
140141
contents: write
141142

142-
steps:
143-
- name: "Run static analysis"
144-
uses: ./.github/workflows/static-analysis.yml
145-
with:
146-
ref: refs/tags/${{ inputs.version }}
147-
148143
publish-ssdlc-assets:
149144
needs: static-analysis
150145
environment: release

0 commit comments

Comments
 (0)