File tree Expand file tree Collapse file tree 6 files changed +10
-7
lines changed
Expand file tree Collapse file tree 6 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 1- name : Auto- Release
1+ name : Release
22
3- run-name : " Auto- Release - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}"
3+ run-name : " Release - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}"
44
55on :
6- pull_request_target :
6+ pull_request :
77 branches :
88 - main
99 types :
1212 - reopened
1313 - synchronize
1414 - labeled
15+ paths :
16+ - ' action.yml'
17+ - ' src/**'
1518
1619concurrency :
1720 group : ${{ github.workflow }}-${{ github.ref }}
@@ -22,15 +25,15 @@ permissions:
2225 pull-requests : write
2326
2427jobs :
25- Auto- Release :
28+ Release :
2629 runs-on : ubuntu-latest
2730 steps :
2831 - name : Checkout Code
2932 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3033 with :
3134 persist-credentials : false
3235
33- - name : Auto- Release
36+ - name : Release
3437 uses : PSModule/Auto-Release@eabd533035e2cb9822160f26f2eda584bd012356 # v1.9.5
3538 with :
3639 IncrementalPrerelease : false
Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ runs:
259259 Verbose : ${{ inputs.Verbose }}
260260 Version : ${{ inputs.Version }}
261261 WorkingDirectory : ${{ inputs.WorkingDirectory }}
262- Script : ${{ github.action_path }}/scripts /main.ps1
262+ Script : ${{ github.action_path }}/src /main.ps1
263263
264264 - name : Invoke-Pester
265265 uses : PSModule/Invoke-Pester@882994cbe1ff07c3fc8afdac52404c940f99b331 # v4.2.2
@@ -273,7 +273,7 @@ runs:
273273 Version : ${{ inputs.Version }}
274274 WorkingDirectory : ${{ inputs.WorkingDirectory }}
275275 TestResult_TestSuiteName : ${{ inputs.TestResult_TestSuiteName }}
276- Path : ${{ github.action_path }}/scripts /tests/PSScriptAnalyzer
276+ Path : ${{ github.action_path }}/src /tests/PSScriptAnalyzer
277277 Run_Path : ${{ fromJson(steps.paths.outputs.result).CodePath }}
278278 ReportAsJson : ${{ inputs.ReportAsJson }}
279279 Notice_Mode : ${{ inputs.Notice_Mode }}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments