From 9a6a14c0876fe76de94f0faa016654e3b60bf55f Mon Sep 17 00:00:00 2001 From: Simon Taggart Date: Fri, 6 Oct 2023 13:35:16 -0700 Subject: [PATCH] fix: discussions secrets (#3530) --- .github/workflows/on_discussion_create.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/on_discussion_create.yml b/.github/workflows/on_discussion_create.yml index 290c1a8e59..9941ebd224 100644 --- a/.github/workflows/on_discussion_create.yml +++ b/.github/workflows/on_discussion_create.yml @@ -3,8 +3,8 @@ on: discussion: types: [created] env: - GH_SERVICE_ACC_DISCUSSIONS_TOKEN: ${{ github.token }} - API_SECRET: ${{ secrets.API_SECRET }} + GH_SERVICE_ACC_DISCUSSIONS_TOKEN: ${{ secrets.GH_SERVICE_ACC_DISCUSSIONS_TOKEN }} + API_SECRET: ${{ secrets.OPENAI_API_SECRET }} jobs: on_discussion_open: runs-on: ubuntu-latest