File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,15 @@ jobs:
15
15
permissions :
16
16
pull-requests : read
17
17
with :
18
- pr_number : ${{ github.event.pull_request.number }}
18
+ pr_number : ${{ github.event.pull_request.number || 0 }}
19
19
getChangedChartsMQ :
20
20
uses : ./.github/workflows/get-changed-charts-merge-queue.yaml
21
21
if : ${{ github.event.merge_group != null }}
22
22
permissions :
23
23
contents : read
24
24
with :
25
- base_commit : ${{ github.event.merge_group.base_sha }}
26
- head_commit : ${{ github.event.merge_group.head_sha }}
25
+ base_commit : ${{ github.event.merge_group.base_sha || '' }}
26
+ head_commit : ${{ github.event.merge_group.head_sha || '' }}
27
27
lint-helm-chart :
28
28
name : lint helm chart
29
29
permissions :
Original file line number Diff line number Diff line change @@ -18,15 +18,15 @@ jobs:
18
18
permissions :
19
19
pull-requests : read
20
20
with :
21
- pr_number : ${{ github.event.pull_request.number }}
21
+ pr_number : ${{ github.event.pull_request.number || 0 }}
22
22
getChangedChartsMQ :
23
23
uses : ./.github/workflows/get-changed-charts-merge-queue.yaml
24
24
if : ${{ github.event.merge_group != null }}
25
25
permissions :
26
26
contents : read
27
27
with :
28
- base_commit : ${{ github.event.merge_group.base_sha }}
29
- head_commit : ${{ github.event.merge_group.head_sha }}
28
+ base_commit : ${{ github.event.merge_group.base_sha || '' }}
29
+ head_commit : ${{ github.event.merge_group.head_sha || '' }}
30
30
validateREADMEChanges :
31
31
if : ${{ always() && contains(needs.*.result, 'success') && !contains(needs.*.result, 'failure') }}
32
32
name : Validate README changes
You can’t perform that action at this time.
0 commit comments