From e6df53c9a575849279d9854b80422e4144cd8599 Mon Sep 17 00:00:00 2001 From: Pulumi Bot Date: Wed, 29 May 2024 05:04:31 +0000 Subject: [PATCH] [internal] Update GitHub Actions workflow files --- .github/workflows/build.yml | 4 ++-- .github/workflows/prerelease.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- .github/workflows/run-acceptance-tests.yml | 4 ++-- .github/workflows/weekly-pulumi-update.yml | 2 ++ 5 files changed, 10 insertions(+), 8 deletions(-) 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..33dd3a0 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 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