Skip to content

Commit

Permalink
bring back envs
Browse files Browse the repository at this point in the history
  • Loading branch information
karllu3 committed Jul 27, 2024
1 parent 4c26117 commit 76d2dd1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate_default_project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
with:
repo-path: "github.com/karllu3/ds-lk-default.git"
repo-user: karllu3
repo-email: [email protected]
repo-user-email: [email protected]
cookiecutter-profile: cookiecutter_default_gh.yaml
secrets: inherit

Expand All @@ -17,6 +17,6 @@ jobs:
with:
repo-path: "gitlab.com/lukasz.karlowski/ds-lk-default.git"
repo-user: lukasz karlowski
repo-email: [email protected]
repo-user-email: [email protected]
cookiecutter-profile: cookiecutter_default_gh.yaml
secrets: inherit
11 changes: 6 additions & 5 deletions .github/workflows/generate_default_project_reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
repo-user:
required: true
type: string
repo-email:
repo-user-email:
required: true
type: string
cookiecutter-profile:
Expand All @@ -18,6 +18,8 @@ on:
secrets:
REPO_KEY_GITHUB:
required: true
REPO_KEY_GITLAB:
required: true

jobs:
validate-instance:
Expand Down Expand Up @@ -46,8 +48,7 @@ jobs:

- name: Remote checkout
run: |
git clone https://oauth2:${{ secrets.REPO_KEY_GITHUB }}@github.com/karllu3/ds-lk-default.git ds-default-repo
git clone https://oauth2:${{ secrets.REPO_KEY_GITHUB }}@github.com/karllu3/ds-lk-default.git
git clone https://oauth2:${{ secrets.REPO_KEY_GITHUB }}@${{ inputs.repo_path }} ds-default-repo
cp -r ds-default/. ds-default-repo
- name: Set safe directory
Expand All @@ -57,8 +58,8 @@ jobs:
- name: Prepare local git repo
working-directory: ./ds-default-repo
run: |
git config --local user.email "[email protected]"
git config --local user.name "karllu3"
git config --local user.email "${{ inputs.repo-user }}"
git config --local user.name "${{ inputs.repo-user-email }}"
git checkout -b ds-default-check
git add .
Expand Down

0 comments on commit 76d2dd1

Please sign in to comment.