mirror of https://github.com/pulumi/pulumi.git
4a3092806e
10790: ci: fix community contributor workflow r=AaronFriel a=AaronFriel Fixes a couple issues with our community contribution workflows: * The ref for calculating changelogs should be the merge ref, the `github.ref` variable is the wrong value, given that it evaluated to `refs/head/master`: https://github.com/pulumi/pulumi/actions/runs/3071146998/jobs/4961576379#step:1:31 * The changelog comment on the dispatch job was redundant * The CI job needs a GitHub token and Pulumi access token, so those are made explicit. Existing workflow calls to `ci.yml` use `secrets: inherit` to pass these down transparently. For contributor workflows, we prefer to be explicit. This ensures the workflow doesn't have access to, e.g., AWS tokens. Co-authored-by: Aaron Friel <mayreply@aaronfriel.com> |
||
---|---|---|
.. | ||
ci-build-binaries.yml | ||
ci-build-sdks.yml | ||
ci-info.yml | ||
ci-lint.yml | ||
ci-prepare-release.yml | ||
ci-run-test.yml | ||
ci-test-codegen.yml | ||
ci-test-docs-generation.yml | ||
ci.yml | ||
command-dispatch.yml | ||
download-pulumi-cron.yml | ||
issue-management.yml | ||
on-community-pr.yml | ||
on-merge.yml | ||
on-pr-changelog.yml | ||
on-pr.yml | ||
on-release.yml | ||
pr-test-acceptance-on-dispatch.yml | ||
pr-test-codegen-on-pr.yml | ||
pr-test-codegen-test-on-dispatch.yml | ||
pr-test-docs-gen-on-pr.yml | ||
pr-test-docs-generation-on-dispatch.yml | ||
release-homebrew-tap.yml | ||
release-pr.yml | ||
release.pub | ||
release.yml | ||
trigger-homebrew-event.yml | ||
trigger-release-docs-event.yml |