PAT 所需权限
You can also use a fine-grained personal access token (beta). It needs the following permissions on the target repositories:
contents: read & writemetadata: read only(automatically selected when selecting the contents permission)
更新 submodule 同样需要 token,需要内容的读写权限。