From 3ed8f5fee92250c523084bd7f6df3ed2a5f7905d Mon Sep 17 00:00:00 2001 From: ep-93 <109581241+ep-93@users.noreply.github.com> Date: Wed, 6 Dec 2023 12:03:18 +0000 Subject: [PATCH] Update notify-user-new-environment-created.yml --- .github/workflows/notify-user-new-environment-created.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/notify-user-new-environment-created.yml b/.github/workflows/notify-user-new-environment-created.yml index 0d396c928..3ea98c1ca 100644 --- a/.github/workflows/notify-user-new-environment-created.yml +++ b/.github/workflows/notify-user-new-environment-created.yml @@ -19,11 +19,11 @@ jobs: node-version: 20 - name: Send message to user on onboarding issue close env: - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: "${{ secrets.GITHUB_TOKEN }}" # if: contains(github.event.issue.labels.*.name, 'onboarding') && github.event.issue.state == 'closed' - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + with: script: | - + // Get the user who opened the issue const user = issue.user.login;