diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 547c39d..659538e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -114,7 +114,7 @@ jobs: allowed-changes: |- sdk/**/pulumi-plugin.json sdk/dotnet/Pulumi.*.csproj - sdk/go/*/internal/pulumiUtilities.go + sdk/go/**/pulumiUtilities.go sdk/nodejs/package.json sdk/python/pyproject.toml - run: git status --porcelain @@ -218,7 +218,7 @@ jobs: allowed-changes: |- sdk/**/pulumi-plugin.json sdk/dotnet/Pulumi.*.csproj - sdk/go/*/internal/pulumiUtilities.go + sdk/go/**/pulumiUtilities.go sdk/nodejs/package.json sdk/python/pyproject.toml - run: git status --porcelain diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index d2e7983..afd632b 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -106,7 +106,7 @@ jobs: allowed-changes: |- sdk/**/pulumi-plugin.json sdk/dotnet/Pulumi.*.csproj - sdk/go/*/internal/pulumiUtilities.go + sdk/go/**/pulumiUtilities.go sdk/nodejs/package.json sdk/python/pyproject.toml - run: git status --porcelain @@ -210,7 +210,7 @@ jobs: allowed-changes: |- sdk/**/pulumi-plugin.json sdk/dotnet/Pulumi.*.csproj - sdk/go/*/internal/pulumiUtilities.go + sdk/go/**/pulumiUtilities.go sdk/nodejs/package.json sdk/python/pyproject.toml - run: git status --porcelain diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 40336b1..d8031c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -106,7 +106,7 @@ jobs: allowed-changes: |- sdk/**/pulumi-plugin.json sdk/dotnet/Pulumi.*.csproj - sdk/go/*/internal/pulumiUtilities.go + sdk/go/**/pulumiUtilities.go sdk/nodejs/package.json sdk/python/pyproject.toml - run: git status --porcelain @@ -210,7 +210,7 @@ jobs: allowed-changes: |- sdk/**/pulumi-plugin.json sdk/dotnet/Pulumi.*.csproj - sdk/go/*/internal/pulumiUtilities.go + sdk/go/**/pulumiUtilities.go sdk/nodejs/package.json sdk/python/pyproject.toml - run: git status --porcelain diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index b345bb3..095340d 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -131,7 +131,7 @@ jobs: allowed-changes: |- sdk/**/pulumi-plugin.json sdk/dotnet/Pulumi.*.csproj - sdk/go/*/internal/pulumiUtilities.go + sdk/go/**/pulumiUtilities.go sdk/nodejs/package.json sdk/python/pyproject.toml - run: git status --porcelain @@ -238,7 +238,7 @@ jobs: allowed-changes: |- sdk/**/pulumi-plugin.json sdk/dotnet/Pulumi.*.csproj - sdk/go/*/internal/pulumiUtilities.go + sdk/go/**/pulumiUtilities.go sdk/nodejs/package.json sdk/python/pyproject.toml - run: git status --porcelain @@ -374,8 +374,14 @@ jobs: runs-on: ubuntu-latest name: sentinel steps: - - name: Is workflow a success - run: echo yes + - name: Mark workflow as successful + uses: guibranco/github-status-action-v2@0849440ec82c5fa69b2377725b9b7852a3977e76 + with: + authToken: ${{ secrets.GITHUB_TOKEN }} + context: Sentinel + state: success + description: Sentinel checks passed + sha: ${{ github.event.pull_request.head.sha || github.sha }} if: github.event_name == 'repository_dispatch' || github.event.pull_request.head.repo.full_name == github.repository needs: diff --git a/.github/workflows/weekly-pulumi-update.yml b/.github/workflows/weekly-pulumi-update.yml index 5dbe0d3..1e92cd6 100644 --- a/.github/workflows/weekly-pulumi-update.yml +++ b/.github/workflows/weekly-pulumi-update.yml @@ -85,6 +85,8 @@ jobs: for MODFILE in $(find . -name go.mod); do pushd $(dirname $MODFILE); go get github.com/pulumi/pulumi/pkg/v3 github.com/pulumi/pulumi/sdk/v3; go mod tidy; popd; done + gh repo view pulumi/pulumi --json latestRelease --jq .latestRelease.tagName | sed 's/^v//' > .pulumi.version + git update-index -q --refresh if ! git diff-files --quiet; then echo changes=1 >> "$GITHUB_OUTPUT"; fi