Skip to content

Commit

Permalink
Fix Repo Name So Workflow Will Run
Browse files Browse the repository at this point in the history
  • Loading branch information
DougDyreng committed Mar 28, 2024
1 parent e2694d0 commit 76ebf5e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build-and-review-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
env:
ORG: 'im-open'
THIS_REPO: 'setup-deploy-keys'
INTERNAL_REPO_TO_CLONE: 'im-open/internal-repo-for-testing'
INTERNAL_REPO_TO_CLONE: 'im-open/internal-repo-for-testing-purple-team'
INTERNAL_REPO_TO_CLONE_DIR: 'internal-repo-for-testing'

# The private key which will be used to clone the internal & empty deploy-keys-testing repo.
Expand All @@ -76,7 +76,7 @@ jobs:
INTERNAL_REPO_TO_CLONE_KEY: ${{ secrets.SSH_KEY_TESTING_REPO }}
SSH_DEPLOY_KEY_INFO: |
[
{ "orgAndRepo": "im-open/internal-repo-for-testing", "envName" : "INTERNAL_REPO_TO_CLONE_KEY" }
{ "orgAndRepo": "im-open/internal-repo-for-testing-purple-team", "envName" : "INTERNAL_REPO_TO_CLONE_KEY" }
]
steps:
Expand Down Expand Up @@ -200,9 +200,9 @@ jobs:
if [ $count -ne 3 ]
then
echo -e "\nExpected 3 insteadOf entries in .gitconfig but found $count"
echo -e "\nExpected 3 insteadOf entries in .gitconfig but found $count"
exit 1
else
else
echo -e "\nThere were 3 insteadOf entries in the .gitconfig as expected."
fi
Expand Down Expand Up @@ -239,7 +239,7 @@ jobs:
id: unparseable
continue-on-error: true # This is needed because we expect the step to fail. We need it to "pass" in order for the test job to succeed.
with:
deploy-key-info: '[ orgAndRepo=im-open/internal-repo-for-testing, envName=INTERNAL_REPO_TO_CLONE_KEY ]'
deploy-key-info: '[ orgAndRepo=im-open/internal-repo-for-testing-purple-team, envName=INTERNAL_REPO_TO_CLONE_KEY ]'

- name: Then the outcome should be failure
if: always()
Expand Down Expand Up @@ -310,7 +310,7 @@ jobs:
with:
deploy-key-info: |
[
{ "orgAndRepo": "im-open/internal-repo-for-testing", "envName" : "" }
{ "orgAndRepo": "im-open/internal-repo-for-testing-purple-team", "envName" : "" }
]
- name: Then the outcome should be failure
Expand All @@ -335,7 +335,7 @@ jobs:
with:
deploy-key-info: |
[
{ "orgAndRepo": "im-open/internal-repo-for-testing", "envName" : "UNPOPULATED_ENV_VARIABLE" }
{ "orgAndRepo": "im-open/internal-repo-for-testing-purple-team", "envName" : "UNPOPULATED_ENV_VARIABLE" }
]
- name: Then the outcome should be failure
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules/
/.vscode/launch.json
/.vscode/launch.json
.DS_Store

0 comments on commit 76ebf5e

Please sign in to comment.