diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2022-07-14 22:08:48 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2022-07-14 22:08:48 +0300 |
commit | b47465f84ee44bc8beb645ae7ca63f57fd068c8a (patch) | |
tree | ad7e3fb18e180165220bf43a2b9075854fc01d86 | |
parent | 89ae626b3d654f2e1bec7ee53ff90282fe134a2a (diff) |
[ci] Sync backport action code with dotnet/runtime
-rw-r--r-- | scripts/ci/actions/backport/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ci/actions/backport/index.js b/scripts/ci/actions/backport/index.js index 49a2c740108..1b4f227ed8f 100644 --- a/scripts/ci/actions/backport/index.js +++ b/scripts/ci/actions/backport/index.js @@ -39,7 +39,7 @@ async function run() { console.log(`Verified ${comment_user} is a repo collaborator.`); } catch (error) { console.log(error); - throw new BackportException(`Error: @${comment_user} is not a repo collaborator, backporting is not allowed.`); + throw new BackportException(`Error: @${comment_user} is not a repo collaborator, backporting is not allowed. If you're a collaborator please make sure your ${repo_owner} team membership visibility is set to Public on https://github.com/orgs/${repo_owner}/people?query=${comment_user}`); } try { await exec.exec(`git ls-remote --exit-code --heads origin ${target_branch}`) } catch { throw new BackportException(`Error: The specified backport target branch ${target_branch} wasn't found in the repo.`); } |