this (public) repo does not need MY_REPO_PAT magic

This commit is contained in:
rusefillc 2023-07-12 18:58:50 -04:00
parent 1b9764f3ea
commit 958b80e1b0
1 changed files with 4 additions and 2 deletions

View File

@ -9,7 +9,10 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.MY_REPO_PAT }}
# MY_REPO_PAT is about accessing private submodules
# todo: how do we use same script both with and without MY_REPO_PAT? would two conditional versions of 'uses: actions/checkout@v2' be needed?
# https://stackoverflow.com/questions/72781712/how-to-add-private-git-repo-as-a-submodule-in-another-git-repo:
# token: ${{ secrets.MY_REPO_PAT }}
submodules: recursive
- name: 1. Build Docker
@ -36,4 +39,3 @@ jobs:
with:
github_token: ${{ github.token }}
branch: ${{ steps.extract_branch.outputs.branch }}