pulumi/.github
bors[bot] f84546cebc
Merge #12198 #12210 #12241 #12252
12198: pkg/backend: Prefer contract.Assertf over Assert r=abhinav a=abhinav

Incremental step towards #12132

Migrates uses of contract.{Assert, AssertNoError, Require} in pkg/engine
to `*f` variants so that we're required to provide more error context.

Refs #12132


12210: pkg/resource: Prefer Assertf in some subpackages r=abhinav a=abhinav

Incremental step towards #12132

Migrates some uses of contract.{Assert, AssertNoError, Require} in
pkg/resource to `*f` variants so that we're required to provide more
error context.

Refs #12132


12241: pkg/resource/deploy: Prefer Assertf r=abhinav a=abhinav

pkg/resource/deploy has a bunch of Assert usages
without messages.

This migrates all of them to `*f` variants,
preferring `Requiref` for paramters.

Refs #12132


12252: ci/rebase: Run for members and owners r=abhinav a=abhinav

The `/rebase` command only runs for collaborators right now, but not for repository members or owners.
This updates the job to support the command from owners and members.
(See https://docs.github.com/en/graphql/reference/enums#commentauthorassociation.)

The `fromJSON` business is necessary to be able to represent the array in the GitHub expression.
(See https://docs.github.com/en/actions/learn-github-actions/expressio˚ns#example-matching-an-array-of-strings.)

Refs #12251


Co-authored-by: Abhinav Gupta <abhinav@pulumi.com>
2023-02-25 00:23:44 +00:00
..
scripts Replace deprecated command with environment file 2023-02-20 11:14:39 +09:00
workflows Merge #12198 #12210 #12241 #12252 2023-02-25 00:23:44 +00:00
PULL_REQUEST_TEMPLATE.md Update PULL_REQUEST_TEMPLATE.md 2022-09-15 07:11:47 -07:00