generated from AndreasAugustin/template
-
-
Notifications
You must be signed in to change notification settings - Fork 37
30 lines (28 loc) · 998 Bytes
/
test_ssh_gitlab.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: test-ssh-gitlab
on:
push:
# branches:
# - "!main"
# pull_request:
workflow_call:
workflow_dispatch:
jobs:
test-implementation-job:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
# To use this repository's private action, you must check out the repository
- name: Checkout
uses: actions/checkout@v4
- name: Test action step ssh
if: github.repository_owner == 'AndreasAugustin'
uses: ./ # Uses an action in the root directory
with:
hostname: ${{ secrets.SOURCE_REPO_GITLAB_HOSTNAME }}
github_token: ${{ secrets.GITHUB_TOKEN }}
source_repo_path: ${{ secrets.SOURCE_REPO_GITLAB_PATH }} # <owner/repo>, should be within secrets
source_repo_ssh_private_key: ${{ secrets.SOURCE_REPO_GITLAB_SSH_PRIVATE_KEY }} # contains the private ssh key of the private repository
is_dry_run: true
is_not_source_github: true