diff --git a/.github/workflows/generate_default_project.yaml b/.github/workflows/generate_default_project.yaml index 537712c..20d761b 100644 --- a/.github/workflows/generate_default_project.yaml +++ b/.github/workflows/generate_default_project.yaml @@ -10,7 +10,8 @@ jobs: repo-user: karllu3 repo-user-email: lukasz.karlowski@deepsense.ai cookiecutter-profile: cookiecutter_default_gh.yaml - secrets: inherit + secrets: + REPO_TOKEN: ${{ secrets.REPO_KEY_GITHUB }} test-GitLab-default-instance: uses: ./.github/workflows/generate_default_project_reusable.yaml @@ -19,4 +20,5 @@ jobs: repo-user: lukasz karlowski repo-user-email: lukasz.karlowski@deepsense.ai cookiecutter-profile: cookiecutter_default_gh.yaml - secrets: inherit + secrets: + REPO_TOKEN: ${{ secrets.REPO_KEY_GITLAB }} diff --git a/.github/workflows/generate_default_project_reusable.yaml b/.github/workflows/generate_default_project_reusable.yaml index 5edf775..8eb8f60 100644 --- a/.github/workflows/generate_default_project_reusable.yaml +++ b/.github/workflows/generate_default_project_reusable.yaml @@ -16,13 +16,11 @@ on: required: true type: string secrets: - REPO_KEY_GITHUB: - required: true - REPO_KEY_GITLAB: + REPO_TOKEN: required: true env: - REMOTE_REPO_REF: https://oauth2:${{ secrets.REPO_KEY_GITHUB }}@${{ inputs.repo-path }} + REMOTE_REPO_REF: https://oauth2:${{ secrets.REPO_TOKEN }}@${{ inputs.repo-path }} jobs: validate-instance: