From 958b80e1b076d814bcd9d98d7ca1bda0755a23ce Mon Sep 17 00:00:00 2001 From: rusefillc Date: Wed, 12 Jul 2023 18:58:50 -0400 Subject: [PATCH] this (public) repo does not need MY_REPO_PAT magic --- .github/workflows/create-board.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create-board.yaml b/.github/workflows/create-board.yaml index 58fc800..51c8cb5 100644 --- a/.github/workflows/create-board.yaml +++ b/.github/workflows/create-board.yaml @@ -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 }} -