diff --git a/check-cla/action.yml b/check-cla/action.yml index f7d43c4..3595277 100644 --- a/check-cla/action.yml +++ b/check-cla/action.yml @@ -75,10 +75,10 @@ runs: core.setOutput('has_label', has_label); core.debug(`has_label: ${has_label}`); - const { cla_repo_owner, cla_repo_name } = '${{ inputs.cla_repo }}'.split('/', 2); + const cla_repo = '${{ inputs.cla_repo }}'.split('/', 2); const { content, encoding } = (await github.rest.repos.getContent({ - owner: cla_repo_owner, - repo: cla_repo_name, + owner: cla_repo[0], + repo: cla_repo[1], path: '${{ inputs.cla_path }}' })).data; const contributors = JSON.parse(