File tree 3 files changed +10
-5
lines changed
3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : Auto-Release
2
2
3
3
on :
4
- pull_request :
4
+ pull_request_target :
5
5
branches :
6
6
- main
7
7
types :
Original file line number Diff line number Diff line change 1
1
name : Linter
2
2
3
3
on :
4
- pull_request :
4
+ pull_request_target :
5
+ branches :
6
+ - main
5
7
6
8
jobs :
7
9
Lint :
Original file line number Diff line number Diff line change 28
28
GITHUB_CONTEXT : ${{ toJson(github) }}
29
29
JOB_CONTEXT : ${{ toJson(job) }}
30
30
RUNNER_CONTEXT : ${{ toJson(runner) }}
31
+ AutoPatching : ${{ inputs.AutoPatching }}
32
+ IncrementalPrerelease : ${{ inputs.IncrementalPrerelease }}
33
+ VersionPrefix : ${{ inputs.VersionPrefix }}
31
34
run : |
32
35
# Auto-Release
33
36
Write-Host "::group::Utilities"
59
62
Write-Host $env:RUNNER_CONTEXT
60
63
Write-Host '::endgroup::'
61
64
62
- $autoPatching = '${{ inputs. AutoPatching }}' -eq 'true'
63
- $incrementalPrerelease = '${{ inputs. IncrementalPrerelease }}' -eq 'true'
64
- $versionPrefix = '${{ inputs. VersionPrefix }}'
65
+ $autoPatching = $env: AutoPatching -eq 'true'
66
+ $incrementalPrerelease = $env: IncrementalPrerelease -eq 'true'
67
+ $versionPrefix = $env: VersionPrefix
65
68
Write-Host "-------------------------------------------------"
66
69
Write-Host "Auto patching enabled: [$autoPatching]"
67
70
Write-Host "Incremental prerelease enabled: [$autoPatching]"
You can’t perform that action at this time.
0 commit comments