Skip to content

Commit

Permalink
Update CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
taori authored Aug 28, 2024
1 parent ce74058 commit 1a131c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
$suffix = "${{github.event.inputs.versionSuffix}}"
$bnr = "${{github.run_number}}"
Write-Host "baseRef: ${{github.base_ref}}"
Write-Host "ref_name: ${{github.ref_name}}"
Write-Host "event_name: ${{github.event_name}}"
Write-Host "action: ${{github.event.action}}"
Write-Host "pull_request.merged: ${{github.event.pull_request.merged}}"
Expand All @@ -118,9 +118,9 @@ jobs:
if($commitMode -eq "noop" && "${{github.event_name}}" -eq "workflow_dispatch") {
$commitMode = "dispatch" }
if($commitMode -eq "noop" && "$branch|pull_request|closed|true" -eq "${{github.base_ref}}|${{github.event_name}}|${{github.event.action}}|${{github.event.pull_request.merged}}") {
if($commitMode -eq "noop" && "$branch|pull_request|closed|true" -eq "${{github.ref_name}}|${{github.event_name}}|${{github.event.action}}|${{github.event.pull_request.merged}}") {
$commitMode = "pushMerge" }
if($commitMode -eq "noop" && "$branch|push" -eq "${{github.base_ref}}|${{github.event_name}}") {
if($commitMode -eq "noop" && "$branch|push" -eq "${{github.ref_name}}|${{github.event_name}}") {
$commitMode = "push" }
Expand Down

0 comments on commit 1a131c3

Please sign in to comment.