From 0f0671792f6e7ea918ed0706ba139f7619abb8e2 Mon Sep 17 00:00:00 2001 From: Ing Date: Mon, 1 Apr 2024 19:12:53 +0800 Subject: [PATCH] fix email get --- .github/workflows/issues.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml index b885c6d3..a82c6126 100644 --- a/.github/workflows/issues.yml +++ b/.github/workflows/issues.yml @@ -182,7 +182,7 @@ jobs: exit 1 fi - EMAIL=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" "https://api.github.com/users/${{ github.event.issue.user.login }}" | jq -r '.email') + EMAIL=$(curl -s -H "Authorization: token ${{ secrets.ACTION }}" "https://api.github.com/users/${{ github.event.issue.user.login }}" | jq -r '.email') TTDLURL="$(echo "${UPLOAD}" | grep "Download Page" | head -1)" echo "TAG=${TAG}" >> $GITHUB_ENV echo "EMAIL=${EMAIL}" >> $GITHUB_ENV