File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 2626 steps :
2727 - name : Label Original PRs if backport PR
2828 continue-on-error : true
29- if : ${{ github.event.action == 'opened' && startsWith(github.event.pull_request.base.ref, 'release/v') && startsWith(github.event.pull_request.title, '[release/v') }}
3029 uses : actions/github-script@v7
3130 with :
3231 script : |
4948 } else {
5049 console.log("No original PR number found in the description.");
5150 }
51+
52+ test-conditions :
53+ permissions :
54+ contents : read
55+
56+ name : test conditions
57+ if : (github.repository_owner == 'PowerShell' || github.repository_owner == 'TravisEz13')
58+ runs-on : ubuntu-latest
5259
60+ steps :
61+ - name : If Opened
62+ continue-on-error : true
63+ if : github.event.action == 'opened'
64+ run : echo "yes"
65+
66+ - name : If ref starts with
67+ continue-on-error : true
68+ if : startsWith(github.event.pull_request.base.ref, 'release/v')
69+ run : echo "yes"
70+
71+ - name : If title starts with
72+ continue-on-error : true
73+ if : startsWith(github.event.pull_request.title, '[release/v') }}
74+ run : echo "yes"
75+
5376 verify-labels :
5477 name : Verify Change Log Labels
5578 if : github.repository_owner == 'PowerShell'
You can’t perform that action at this time.
0 commit comments