pulumi/sdk/go/common/util/ciutil
Ringo De Smet d513dea5ee
Use `SYSTEM_PULLREQUEST_SOURCECOMMITID` for AZ pipeline on GH PR (#15513)
<!--- 
Thanks so much for your contribution! If this is your first time
contributing, please ensure that you have read the
[CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md)
documentation.
-->

# Description

Use `SYSTEM_PULLREQUEST_SOURCECOMMITID` when AZ pipelines checks against
a Github PR. Fix made based on investigation from @blampe in #15072

Fixes #15072

## Checklist

- [ ] I have run `make tidy` to update any new dependencies
- [ ] I have run `make lint` to verify my code passes the lint check
  - [ ] I have formatted my code using `gofumpt`

<!--- Please provide details if the checkbox below is to be left
unchecked. -->
- [ ] I have added tests that prove my fix is effective or that my
feature works
<!--- 
User-facing changes require a CHANGELOG entry.
-->
- [x] I have run `make changelog` and committed the
`changelog/pending/<file>` documenting my change
<!--
If the change(s) in this PR is a modification of an existing call to the
Pulumi Cloud,
then the service should honor older versions of the CLI where this
change would not exist.
You must then bump the API version in
/pkg/backend/httpstate/client/api.go, as well as add
it to the service.
-->
- [ ] Yes, there are changes in this PR that warrants bumping the Pulumi
Cloud API version
<!-- @Pulumi employees: If yes, you must submit corresponding changes in
the service repo. -->
2024-02-26 14:55:54 +00:00
..
az_pipelines.go Use `SYSTEM_PULLREQUEST_SOURCECOMMITID` for AZ pipeline on GH PR (#15513) 2024-02-26 14:55:54 +00:00
bitbucket_pipelines.go move pkg/util/ciutil -> sdk/go/common/util/ciutil 2020-03-18 15:43:31 -07:00
buildkite.go Added a buildkite detector for detecting the correct env vars in CI (#7933) 2021-11-15 09:10:07 -08:00
circleci.go move pkg/util/ciutil -> sdk/go/common/util/ciutil 2020-03-18 15:43:31 -07:00
codefresh.go move pkg/util/ciutil -> sdk/go/common/util/ciutil 2020-03-18 15:43:31 -07:00
detect.go add additional CI provider detection (#9715) 2022-05-27 10:49:18 -07:00
generic.go Add GitHub Actions detection and update the Pulumi CI escape hatch with more CI vars (#4758) 2020-06-08 17:24:12 -07:00
github_actions.go chore: Update doc comments, coding style, fix lint 2022-10-13 13:50:49 -07:00
gitlab.go move pkg/util/ciutil -> sdk/go/common/util/ciutil 2020-03-18 15:43:31 -07:00
jenkins.go [ciutil] Correct system name of Jenkins CI (#5891) 2020-12-08 18:36:31 +00:00
systems.go add additional CI provider detection (#9715) 2022-05-27 10:49:18 -07:00
travis.go move pkg/util/ciutil -> sdk/go/common/util/ciutil 2020-03-18 15:43:31 -07:00
vars.go move pkg/util/ciutil -> sdk/go/common/util/ciutil 2020-03-18 15:43:31 -07:00
vars_test.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00