From ebba1f78abe65ee9f8c7c4ca752360cb16cd498d Mon Sep 17 00:00:00 2001 From: netmindz Date: Tue, 11 Mar 2025 22:05:32 +0000 Subject: [PATCH] update secrets syntax for pr-merge action --- .github/workflows/pr-merge.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-merge.yaml b/.github/workflows/pr-merge.yaml index df8ae2253..061d54a53 100644 --- a/.github/workflows/pr-merge.yaml +++ b/.github/workflows/pr-merge.yaml @@ -8,6 +8,8 @@ runs-on: ubuntu-latest steps: - name: Send Discord notification + env: + DISCORD_WEBHOOK_BETA_TESTERS: ${{ secrets.DISCORD_WEBHOOK_BETA_TESTERS }} if: github.event.pull_request.merged == true run: | - curl -H "Content-Type: application/json" -d '{"content": "Pull Request #{{ github.event.pull_request.number }} merged by {{ github.actor }}"}' ${{ secrets.DISCORD_WEBHOOK_BETA_TESTERS }} + curl -H "Content-Type: application/json" -d '{"content": "Pull Request #{{ github.event.pull_request.number }} merged by {{ github.actor }}"}' $env:DISCORD_WEBHOOK_BETA_TESTERS