Skip to content

Commit

Permalink
secret pass
Browse files Browse the repository at this point in the history
  • Loading branch information
karllu3 committed Jul 27, 2024
1 parent 9e83e96 commit 9393bbd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/generate_default_project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:
repo-user: karllu3
repo-user-email: [email protected]
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
Expand All @@ -19,4 +20,5 @@ jobs:
repo-user: lukasz karlowski
repo-user-email: [email protected]
cookiecutter-profile: cookiecutter_default_gh.yaml
secrets: inherit
secrets:
REPO_TOKEN: ${{ secrets.REPO_KEY_GITLAB }}
6 changes: 2 additions & 4 deletions .github/workflows/generate_default_project_reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9393bbd

Please sign in to comment.