Update GitHub Actions workflows. (#720)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit 0b04a21b810fd7b4a412c1f42867a70f65c14758. Co-authored-by: Pulumi Bot <bot@pulumi.com>
This commit is contained in:
committed by
GitHub
parent
3f329778cf
commit
4e3830ca83
@@ -1,11 +1,3 @@
|
|||||||
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
|
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
|
||||||
|
|
||||||
# Overrides for test workflows
|
# Overrides for test workflows -- currently empty.
|
||||||
|
|
||||||
[env]
|
|
||||||
# Acceptance (specifically providertest) tests require that PULUMI_HOME be the default
|
|
||||||
PULUMI_HOME = "{{ env.HOME }}/.pulumi"
|
|
||||||
|
|
||||||
[tools]
|
|
||||||
# always use pulumi latest for tests
|
|
||||||
pulumi = "latest"
|
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
|
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
|
||||||
name: "Comment on stale issues"
|
name: "Comment on stale issues"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
schedule:
|
|
||||||
- cron: "46 4 * * *" # run once per day
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
cleanup:
|
cleanup:
|
||||||
|
|||||||
4
.github/workflows/weekly-pulumi-update.yml
vendored
4
.github/workflows/weekly-pulumi-update.yml
vendored
@@ -68,10 +68,10 @@ jobs:
|
|||||||
|
|
||||||
git checkout -b update-pulumi/${{ github.run_id }}-${{ github.run_number }}
|
git checkout -b update-pulumi/${{ github.run_id }}-${{ github.run_number }}
|
||||||
|
|
||||||
find . -name go.mod -execdir sh -c 'go get github.com/pulumi/pulumi/pkg/v3 github.com/pulumi/pulumi/sdk/v3; go mod tidy' \;
|
|
||||||
|
|
||||||
gh repo view pulumi/pulumi --json latestRelease --jq .latestRelease.tagName | sed 's/^v//' > .pulumi.version
|
gh repo view pulumi/pulumi --json latestRelease --jq .latestRelease.tagName | sed 's/^v//' > .pulumi.version
|
||||||
|
|
||||||
|
VERSION=$(cat .pulumi.version) find . -name go.mod -execdir sh -c 'go get github.com/pulumi/pulumi/pkg/v3@v${VERSION} github.com/pulumi/pulumi/sdk/v3@v${VERSION}; go mod tidy' \;
|
||||||
|
|
||||||
git update-index -q --refresh
|
git update-index -q --refresh
|
||||||
|
|
||||||
if ! git diff-files --quiet; then echo changes=1 >> "$GITHUB_OUTPUT"; fi
|
if ! git diff-files --quiet; then echo changes=1 >> "$GITHUB_OUTPUT"; fi
|
||||||
|
|||||||
Reference in New Issue
Block a user