Skip to content

Commit

Permalink
Change repository cloning test target
Browse files Browse the repository at this point in the history
Works with forked repositories
(authors must be set secrets and add SSH key)
  • Loading branch information
tats-u committed Jan 12, 2021
1 parent f8b8fa0 commit 2625d1f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/verify-on-macos-1015.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: print created files
run: ls -l ~/.ssh
- name: git clone through SSH
run: git clone git@github.com:shimataro/ssh-key-action.git tmp
run: git clone git@github.com:${{ github.repository }}.git tmp
ssh-with-name:
name: Connect to github.com with name and config
runs-on: macos-10.15
Expand All @@ -42,4 +42,4 @@ jobs:
- name: print created files
run: ls -l ~/.ssh
- name: git clone through SSH
run: git clone github:shimataro/ssh-key-action.git tmp
run: git clone github:${{ github.repository }}.git tmp
4 changes: 2 additions & 2 deletions .github/workflows/verify-on-ubuntu-1604.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: print created files
run: ls -l ~/.ssh
- name: git clone through SSH
run: git clone git@github.com:shimataro/ssh-key-action.git tmp
run: git clone git@github.com:${{ github.repository }}.git tmp
ssh-with-name:
name: Connect to github.com with name and config
runs-on: ubuntu-16.04
Expand All @@ -42,4 +42,4 @@ jobs:
- name: print created files
run: ls -l ~/.ssh
- name: git clone through SSH
run: git clone github:shimataro/ssh-key-action.git tmp
run: git clone github:${{ github.repository }}.git tmp
4 changes: 2 additions & 2 deletions .github/workflows/verify-on-ubuntu-1804.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: print created files
run: ls -l ~/.ssh
- name: git clone through SSH
run: git clone git@github.com:shimataro/ssh-key-action.git tmp
run: git clone git@github.com:${{ github.repository }}.git tmp
ssh-with-name:
name: Connect to github.com with name and config
runs-on: ubuntu-18.04
Expand All @@ -42,4 +42,4 @@ jobs:
- name: print created files
run: ls -l ~/.ssh
- name: git clone through SSH
run: git clone github:shimataro/ssh-key-action.git tmp
run: git clone github:${{ github.repository }}.git tmp
4 changes: 2 additions & 2 deletions .github/workflows/verify-on-ubuntu-2004.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: print created files
run: ls -l ~/.ssh
- name: git clone through SSH
run: git clone git@github.com:shimataro/ssh-key-action.git tmp
run: git clone git@github.com:${{ github.repository }}.git tmp
ssh-with-name:
name: Connect to github.com with name and config
runs-on: ubuntu-20.04
Expand All @@ -42,4 +42,4 @@ jobs:
- name: print created files
run: ls -l ~/.ssh
- name: git clone through SSH
run: git clone github:shimataro/ssh-key-action.git tmp
run: git clone github:${{ github.repository }}.git tmp
4 changes: 2 additions & 2 deletions .github/workflows/verify-on-windows-server-2019.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: print created files
run: ls ~/.ssh
- name: git clone through SSH
run: git clone git@github.com:shimataro/ssh-key-action.git tmp
run: git clone git@github.com:${{ github.repository }}.git tmp
ssh-with-name:
name: Connect to github.com with name and config
runs-on: windows-2019
Expand All @@ -42,4 +42,4 @@ jobs:
- name: print created files
run: ls ~/.ssh
- name: git clone through SSH
run: git clone github:shimataro/ssh-key-action.git tmp
run: git clone github:${{ github.repository }}.git tmp

0 comments on commit 2625d1f

Please sign in to comment.