Skip to content

Commit

Permalink
Inline worktreeAllowedChanges (#1005)
Browse files Browse the repository at this point in the history
This is not needed to be overridden now the rollout is complete.

Only use of override is also no longer needed:
https://github.com/search?q=org%3Apulumi+path%3A.ci-mgmt.yaml+%22worktreeAllowedChanges%3A%22&type=code

PR to remove dangling use:
pulumi/pulumi-kafka#459
  • Loading branch information
danielrbradley authored Jun 26, 2024
1 parent 3642d32 commit 4dedb14
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,15 +164,6 @@ publish:
path: sdk
additive: false

# worktreeAllowedChanges defines which files we expect to find changes in when building in CI with a different version number
# This could be in-lined as is not needed to be overridden: https://github.com/search?q=org%3Apulumi+path%3A.ci-mgmt.yaml+%22worktreeAllowedChanges%3A%22&type=code
worktreeAllowedChanges: |-
sdk/**/pulumi-plugin.json
sdk/dotnet/Pulumi.*.csproj
sdk/go/**/pulumiUtilities.go
sdk/nodejs/package.json
sdk/python/pyproject.toml
# Set a path for each language example to enable the test
# releaseVerification:
# nodejs: examples/simple-nodejs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,13 @@ jobs:
run: make build_${{ matrix.language }}
- name: Check worktree clean
uses: pulumi/git-status-check-action@v1
#{{- if .Config.worktreeAllowedChanges }}#
with:
allowed-changes: |
#{{ .Config.worktreeAllowedChanges | indent 12 }}#
#{{- end }}#
sdk/**/pulumi-plugin.json
sdk/dotnet/Pulumi.*.csproj
sdk/go/**/pulumiUtilities.go
sdk/nodejs/package.json
sdk/python/pyproject.toml
- name: Compress SDK folder
run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} .
- name: Upload artifacts
Expand Down

0 comments on commit 4dedb14

Please sign in to comment.