Skip to content

Commit 76bf589

Browse files
committed
always set check to done
1 parent 9d50d40 commit 76bf589

File tree

2 files changed

+2
-28
lines changed

2 files changed

+2
-28
lines changed

.github/workflows/custard-run-dev.yaml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -119,23 +119,10 @@ jobs:
119119
runs-on: ubuntu-latest
120120
permissions:
121121
statuses: write
122+
if: always()
122123
steps:
123124
- name: Check success
124125
uses: GoogleCloudPlatform/cloud-samples-tools/actions/steps/[email protected]
125126
with:
126127
check: ${{ needs.affected.outputs.check }}
127128
status: success
128-
129-
nothing-to-do:
130-
if: needs.affected.outputs.paths != '[]'
131-
needs: [affected]
132-
runs-on: ubuntu-latest
133-
permissions:
134-
statuses: write
135-
steps:
136-
- name: Check success
137-
uses: GoogleCloudPlatform/cloud-samples-tools/actions/steps/[email protected]
138-
with:
139-
check: ${{ needs.affected.outputs.check }}
140-
status: success
141-
title: Nothing to test

.github/workflows/custard-run.yaml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -158,23 +158,10 @@ jobs:
158158
runs-on: ubuntu-latest
159159
permissions:
160160
statuses: write
161+
if: always()
161162
steps:
162163
- name: Check success
163164
uses: GoogleCloudPlatform/cloud-samples-tools/actions/steps/[email protected]
164165
with:
165166
check: ${{ needs.affected.outputs.check }}
166167
status: success
167-
168-
nothing-to-do:
169-
if: needs.affected.outputs.paths != '[]'
170-
needs: [affected]
171-
runs-on: ubuntu-latest
172-
permissions:
173-
statuses: write
174-
steps:
175-
- name: Check success
176-
uses: GoogleCloudPlatform/cloud-samples-tools/actions/steps/[email protected]
177-
with:
178-
check: ${{ needs.affected.outputs.check }}
179-
status: success
180-
title: Nothing to test

0 commit comments

Comments
 (0)