iotaledger / access-server

Apache License 2.0
14 stars 3 forks source link

Check out submodules in GH Actions workflow #168

Closed rajivshah3 closed 4 years ago

bernardoaraujor commented 4 years ago

@rajivshah3 you mentioned this on slack:

So once you have added that as a submodule, you can change this part of your workflow:

  • uses: actions/checkout@v2 to something like this:
  • uses: actions/checkout@v2 with: submodules: true token: ${{ secrets.GITHUB_PAT }}

You’ll need to add a user’s PAT (your own or someone else with access to the repo) to the GH action secrets since the one it provides you (secrets.GITHUB_TOKEN) is just scoped for the repo the workflow is running on

Can you try to implement that in this PR? Let me know any info you might need from the repo admin side.

rajivshah3 commented 4 years ago

Replaced by #177 because secrets aren't exposed to PRs from forks