From 5dac7b8990563387297cc5fbda93cc8b99d16c3f Mon Sep 17 00:00:00 2001 From: Maksym H Date: Wed, 21 Aug 2024 13:40:40 +0100 Subject: [PATCH] Update cmd.yml --- .github/workflows/cmd.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmd.yml b/.github/workflows/cmd.yml index 2c01249d38ea9..c933d2ebf58e4 100644 --- a/.github/workflows/cmd.yml +++ b/.github/workflows/cmd.yml @@ -33,8 +33,10 @@ jobs: github-token: ${{ steps.generate_token.outputs.token }} script: | try { - const org = 'paritytech'; + const org = '${{ github.event.repository.owner.login }}'; const username = context.actor; + + console.log(org, username); const membership = await github.rest.orgs.checkMembershipForUser({ org: org, username: username