-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
37 lines (37 loc) · 1.11 KB
/
action.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
31
32
33
34
35
36
37
name: "Pull Directory Action"
description: "Pull directory from a repository and push to the current repository"
inputs:
source-repo:
description: "Source repository to pull directory"
required: true
source-folder-path:
description: "Source repository path folder to be pulled"
source: true
source-branch:
description: "Source repository branch to pull the directory"
required: true
default: "main"
target-branch:
description: "Target repository branch to push the directory"
required: true
default: "main"
git-username:
description: "Username to be used by git"
required: true
default: "github-actions"
git-email:
description: "Email to be used by git"
required: true
default: "[email protected]"
runs:
using: "composite"
steps:
- run: |
sh ${{ github.action_path }}/action.sh \
${{ inputs.source-repo }} \
${{ inputs.source-folder-path }} \
${{ inputs.source-branch }} \
${{ inputs.target-branch }} \
${{ inputs.git-username }} \
${{ inputs.git-email }}
shell: bash