From 85e955be0c4630b1cb292fee9829a9933e0df6ba Mon Sep 17 00:00:00 2001 From: Merel Theisen <49397448+merelcht@users.noreply.github.com> Date: Fri, 1 Nov 2024 11:30:38 +0000 Subject: [PATCH] Wizard actions (#4282) * Add GH action to automatically label community issues Signed-off-by: Merel Theisen * Test action Signed-off-by: Merel Theisen * Undo test stuf Signed-off-by: Merel Theisen * Update label action Signed-off-by: Merel Theisen * Update label action Signed-off-by: Merel Theisen * Add console logs to error Signed-off-by: Merel Theisen --------- Signed-off-by: Merel Theisen Signed-off-by: Merel Theisen <49397448+merelcht@users.noreply.github.com> --- .github/workflows/label-community-issues.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/label-community-issues.yml b/.github/workflows/label-community-issues.yml index 191d4e55c0..2ac36c1976 100644 --- a/.github/workflows/label-community-issues.yml +++ b/.github/workflows/label-community-issues.yml @@ -33,10 +33,13 @@ jobs: } } catch (error) { + console.log("%s: Error occured and marked user as notMember", '${{ github.actor }}') + console.log("Error", e.stack); + console.log("Error", e.name); + console.log("Error", e.message); return "notMember"; } - - name: Label issue if author is from community if: ${{ steps.membership.outputs.result == 'notMember' }} uses: actions-ecosystem/action-add-labels@v1