-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
43 lines (41 loc) · 1.24 KB
/
Copy pathaction.yml
File metadata and controls
43 lines (41 loc) · 1.24 KB
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
38
39
40
41
42
43
# action.yml
name: 'Gickup Action'
description: 'A GitHub Action for backing up any git repositories using gickup'
branding:
icon: 'award'
color: 'green'
inputs:
config:
description: 'The gickup configuration file'
default: '.gickup/gickup.yml'
dryrun:
description: 'Run gickup in dryrun mode'
required: false
default: 'false'
debug:
description: 'Run gickup in debug mode'
required: false
default: 'false'
# Pass GitHub context, environment variables, variables, and secrets as JSON strings
# This uses gomplate to provide these contexts to the configuration file
# preventing the need to set secrets and variables in the gickup configuration file
# which may lead to accidental exposure of sensitive information
github:
description: 'The GitHub context to pass to gickup'
required: false
default: '${{ toJson(github) }}'
env:
description: 'The Environment variables to pass to gickup'
required: false
default: '{}'
vars:
description: 'The Variables to pass to gickup'
required: false
default: '{}'
secrets:
description: 'The Secrets to pass to gickup'
required: false
default: '{}'
runs:
using: 'docker'
image: 'docker://ghcr.io/socheatsok78/gickup-action:2'