-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GitHub Actions workflows. (#657)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit 7c4fb70d5ca8bdc4fe15f4dc71c700b35272827c.
- Loading branch information
1 parent
21edeff
commit 7b88a8c
Showing
1 changed file
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,9 +83,11 @@ jobs: | |
# If the worktree is dirty and this is a Renovate PR to bump | ||
# dependencies, commit the updated SDK and push it back to the PR. The | ||
# job will still be marked as a failure. | ||
if: failure() && steps.worktreeClean.outcome == 'failure' && contains(github.actor, 'renovate') | ||
if: failure() && steps.worktreeClean.outcome == 'failure' && contains(github.actor, 'renovate') && github.event_name == 'pull_request' | ||
shell: bash | ||
run: | | ||
git diff --quiet -- sdk && echo "no changes to sdk" && exit | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "pulumi-bot" | ||
|
@@ -100,10 +102,12 @@ jobs: | |
git add sdk | ||
git reset \ | ||
sdk/python/*/pulumi-plugin.json \ | ||
sdk/python/pyproject.toml \ | ||
sdk/dotnet/pulumi-plugin.json \ | ||
sdk/dotnet/Pulumi.*.csproj \ | ||
sdk/go/*/pulumi-plugin.json \ | ||
sdk/go/*/internal/pulumiUtilities.go \ | ||
sdk/nodejs/package.json \ | ||
sdk/python/pyproject.toml | ||
sdk/nodejs/package.json | ||
git commit -m 'Commit ${{ matrix.language }} SDK for Renovate' | ||
# Push with pulumi-bot credentials to trigger a re-run of the | ||
|