Skip to content

Commit d629d7d

Browse files
committed
GHA: Run full code cleanup on workflow dispatch
1 parent bc9ddd1 commit d629d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ jobs:
238238
Write-Output "Running code cleanup on commit range $baseCommitHash..$headCommitHash in pull request."
239239
dotnet regitlint -s JsonApiDotNetCore.sln --print-command --skip-tool-check --max-runs=5 --jb --dotnetcoresdk=$(dotnet --version) --jb-profile="JADNC Full Cleanup" --jb --properties:Configuration=Release --jb --properties:RunAnalyzers=false --jb --verbosity=WARN -f commits -a $headCommitHash -b $baseCommitHash --fail-on-diff --print-diff
240240
- name: CleanupCode (on branch)
241-
if: ${{ github.event_name == 'push' || github.event_name == 'release' }}
241+
if: ${{ github.event_name == 'push' || github.event_name == 'release' || github.event_name == 'workflow_dispatch' }}
242242
shell: pwsh
243243
run: |
244244
Write-Output 'Running code cleanup on all files.'

0 commit comments

Comments
 (0)