Skip to content

Commit 0856a1d

Browse files
authored
check if the workspace is clean after building the SDKs (#300)
It's easy to forget to check in the xml doc files that are created during the build. See for example #299. Add a CI check that checks if the workspace is clean, to make sure all the relevant files have been checked in.
1 parent 3ef78ea commit 0856a1d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/pr.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ jobs:
5757
run: dotnet run test-sdk coverage
5858
- name: Test Pulumi Automation SDK
5959
run: dotnet run test-automation-sdk coverage
60+
- name: Workspace clean (are xml doc file updates committed?)
61+
uses: pulumi/git-status-check-action@v1
6062
- name: Upload coverage data
6163
uses: codecov/codecov-action@v4
6264
with:
@@ -200,4 +202,3 @@ jobs:
200202
run: exit 1
201203
- name: CI succeeded
202204
run: exit 0
203-

0 commit comments

Comments
 (0)