-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yaml
36 lines (36 loc) · 942 Bytes
/
action.yaml
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
# action.yml
name: 'Sync Upstream Repo'
description: 'Keep upstream repositories in sync'
inputs:
remote-repository:
description: 'Remote Repository URL'
required: true
default: 'https://github.com/heckelmann/test-src.git'
remote-ref:
description: 'Remote ref to sync from'
required: false
default: 'master'
target-ref:
description: 'Target ref to sync to'
required: false
default: 'master'
auth-token:
description: 'GitHub Token to push changes'
required: true
default: ''
rebase:
description: 'pull rebase - true will rebase'
required: false
default: 'false'
outputs:
sync-status: # id of output
description: 'Was the sync successful'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.remote-repository }}
- ${{ inputs.remote-ref }}
- ${{ inputs.target-ref }}
- ${{ inputs.auth-token }}
- ${{ inputs.rebase }}