Fix secretsProvider not being applied to new stacks #2163
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| permissions: write-all # Equivalent to default permissions plus id-token: write | |
| env: | |
| ESC_ACTION_OIDC_AUTH: true | |
| ESC_ACTION_OIDC_ORGANIZATION: pulumi | |
| ESC_ACTION_OIDC_REQUESTED_TOKEN_TYPE: urn:pulumi:token-type:access_token:organization | |
| ESC_ACTION_ENVIRONMENT: github-secrets/pulumi-pulumi-kubernetes-operator | |
| ESC_ACTION_EXPORT_ENVIRONMENT_VARIABLES: false | |
| name: Command Dispatch for testing | |
| on: | |
| issue_comment: | |
| types: [created, edited] | |
| jobs: | |
| command-dispatch-for-testing: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Fetch secrets from ESC | |
| id: esc-secrets | |
| uses: pulumi/esc-action@cf5b30703ffd5ad60cc3a880c09b3a9592b9372d # v1 | |
| - uses: actions/checkout@v4 | |
| - uses: peter-evans/slash-command-dispatch@13bc09769d122a64f75aa5037256f6f2d78be8c4 # v4.0.0 | |
| with: | |
| token: ${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }} | |
| reaction-token: ${{ secrets.GITHUB_TOKEN }} | |
| commands: run-acceptance-tests | |
| permission: write | |
| issue-type: pull-request | |
| repository: pulumi/pulumi-kubernetes-operator | |
| if: ${{ github.event.issue.pull_request }} |