You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
current_repo_id=$(gh repo view --json id | jq -r .id)
if [[ "$head_repo_id" != "$current_repo_id" && "$can_modify" == "false" ]]; then
echo "::error::Edits from maintainers must be enabled. For more information, visit: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork#enabling-repository-maintainer-permissions-on-existing-pull-requests"