Repository navigation
60 lines (58 loc) · 2.01 KB
/
Copy pathcommand-dispatch.yml
File metadata and controls
60 lines (58 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
env:
AWS_REGION: us-west-2
DOTNET_VERSION: 6.x
GO_VERSION: 1.21.x
GOLANGCI_LINT_VERSION: v1.64.8
JAVA_VERSION: "11"
NODE_VERSION: 20.x
PROVIDER: eks
PULUMI_API: https://api.pulumi-staging.io
PULUMI_ENABLE_RESOURCE_REFERENCES: "1"
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
PULUMI_PULUMI_ENABLE_JOURNALING: "true"
PYTHON_VERSION: "3.9"
TF_APPEND_USER_AGENT: pulumi
jobs:
command-dispatch-for-testing:
name: command-dispatch-for-testing
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # For ESC secrets.
steps:
- name: Checkout Repo
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- id: esc-auth
name: Authenticate with Pulumi Cloud
uses: pulumi/auth-actions@141415910c3beb54e03b48e9057c204c97b956f2
with:
export-environment-variables: "false"
organization: pulumi
requested-token-type: urn:pulumi:token-type:access_token:organization
- id: esc-secrets
name: Fetch secrets from ESC
uses: pulumi/esc-action@ce885ce2ea6bf59194b7b0a3e94a4d3f7bacece0
with:
environment: github-secrets/${{ github.repository_owner }}-${{ github.event.repository.name }}
export-environment-variables: "false"
pulumi-access-token: ${{ steps.esc-auth.outputs.pulumi-access-token }}
- uses: peter-evans/slash-command-dispatch@9bdcd7914ec1b75590b790b844aa3b8eee7c683a # v5
with:
commands: |
run-acceptance-tests
release
issue-type: pull-request
permission: write
reaction-token: ${{ secrets.GITHUB_TOKEN }}
repository: pulumi/pulumi-eks
token: ${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}
name: command-dispatch
on:
issue_comment:
types:
- created
- edited