Skip to content

Checkout with private submodules doesn't work #26936

Discussion options

You must be logged in to vote

Hi @shabalinanton ,

You didn’t store the PAT as the secret value of repo_one. Until the last minute of your video, you create the secrets, but with incorrect value…

Please update secert MY_SECRET with your PAT token.

And in workflow yaml of repo_one:

- name: Checkout private tools
         uses: actions/checkout@v2
         with:
           repository: ShabakinAnton/<font color="#FF0000">first_repo</font> token: ${{ secrets.MY_SECRET }}
           submodules: true

Please refer to official doc for more details.

Thanks

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants