pulumi/.github/workflows
Thomas Gummerer 3b4715ae1b
push post-release changelog and go.mod updates straight to master (#15515)
Post release, we need to update the changelog (clear out all the pending
entries), and update the go.mod in pkg, and also tag the latest version
of that. Currently we create a new PR for that. However since we are
using squash merges, and need to do the tagging while creating the PR,
we're tagging a commit that doesn't end up on the main branch. This
means the Go tooling doesn't work properly with pkg. See also
https://github.com/pulumi/pulumi/issues/15458.

There is nothing really we are doing with that PR other than merging it
(in fact queue-merge is set to true, so it should be queued and merged
automatically, but that doesn't seem to work).

Because of that, we can just tag the release, and push it straight to
the main branch instead. This removes one human step from the release
process and makes the Go tooling work correctly.

The only potential downsides of this change are:
- a small race condition, if a commit gets merged just before we do the
rebase we might end up failing that and the release workflow fails. This
is very unlikely, since the release process should be relatively quick.
- we need to adjust the branch protection rules for pulumi-bot so it's
able to push to the main branch directly. This should not be a problem,
since it's an automated tool, so all of its potential activity has been
reviewed by humans beforehand.

Curious especially if @justinvp has any thoughts on this, since he's
mostly taking care of the release process.

Fixes https://github.com/pulumi/pulumi/issues/15458
2024-02-27 15:41:35 +00:00
..
ci-build-binaries.yml create CI job to upload dev artifacts to S3 (#14640) 2023-12-13 17:25:14 +00:00
ci-build-sdks.yml [ci] Install `setuptools` in virtual environment (#15220) 2024-01-23 22:46:13 +00:00
ci-dev-release.yml fix diff check for releasing dev SDKs (#15523) 2024-02-27 13:27:10 +00:00
ci-info.yml ci: Update post-release PR to align with release process 2022-10-18 22:45:59 -07:00
ci-lint.yml Update golangci-lint (#14624) 2023-11-21 15:16:13 +00:00
ci-prepare-release.yml create CI job to upload dev artifacts to S3 (#14640) 2023-12-13 17:25:14 +00:00
ci-run-test.yml Use pnpm as package manager if we find a pnpm-lock.yaml file (#15456) 2024-02-21 13:41:21 +00:00
ci-test-docs-generation.yml ci: Use the latest version of setup-dotnet (#15466) 2024-02-20 12:20:04 +00:00
ci.yml ci: remove unnecessary TODO (#15310) 2024-01-30 12:13:22 +00:00
command-dispatch.yml ci: ensure trunk is always green 2022-09-13 13:38:14 -07:00
cron-direct-build.yml Add simple Go test with GOPROXY=direct (#14818) 2023-12-12 08:38:29 +00:00
download-pulumi-cron.yml Fix Homebrew install test (#14082) 2023-10-02 18:42:58 +00:00
on-community-pr.yml ci: fix community contributor workflows 2022-09-21 17:39:15 -07:00
on-merge.yml Fix dev release versions (#15472) 2024-02-20 12:13:17 +00:00
on-pr-changelog.yml ci: fix community contributor workflows 2022-09-21 17:39:15 -07:00
on-pr-close.yml [ci] Add downstream codegen tests back (#14582) 2023-11-28 15:15:20 +00:00
on-pr-default.yml Move .version to /sdk and embed it (#15185) 2024-01-19 14:11:17 +00:00
on-pr.yml push post-release changelog and go.mod updates straight to master (#15515) 2024-02-27 15:41:35 +00:00
on-release.yml push post-release changelog and go.mod updates straight to master (#15515) 2024-02-27 15:41:35 +00:00
pr-test-acceptance-on-dispatch.yml set up secrets in acceptance test job (#15175) 2024-01-18 14:40:31 +00:00
pr-test-codegen-downstream.yml ci: Use the latest version of setup-dotnet (#15466) 2024-02-20 12:20:04 +00:00
pr-test-docs-gen-on-pr.yml ci: Clean up excess permissions, fix acceptance tests job 2022-09-15 17:48:16 -07:00
pr-test-docs-generation-on-dispatch.yml Replace deprecated command with environment file 2023-02-20 11:14:39 +09:00
rebase.yml ci/rebase: Run for members and owners 2023-02-19 18:18:06 -08:00
release-homebrew-tap.yml ci: Enable gh cli in every step of job 2022-10-04 23:23:43 -07:00
release-pr.yml push post-release changelog and go.mod updates straight to master (#15515) 2024-02-27 15:41:35 +00:00
release.pub ci: ensure trunk is always green 2022-09-13 13:38:14 -07:00
release.yml push post-release changelog and go.mod updates straight to master (#15515) 2024-02-27 15:41:35 +00:00
sign.yml create CI job to upload dev artifacts to S3 (#14640) 2023-12-13 17:25:14 +00:00
trigger-homebrew-event.yml [ci] More fixes for the homebrew release job (#14482) 2023-11-03 02:15:57 +00:00
trigger-release-docs-event.yml Enable command dispatch workflow for dealing with PRs (#5851) 2020-12-07 19:29:04 +00:00