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