-
Notifications
You must be signed in to change notification settings - Fork 28
/
action.yml
48 lines (46 loc) · 1.74 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
38
39
40
41
42
43
44
45
46
47
48
name: 'Keepalive Workflow'
author: 'Gautam Krishna R'
description: 'GitHub action to prevent GitHub from suspending your cronjob based triggers due to repository inactivity'
inputs:
gh_token:
description: 'GitHub access token with Repo scope'
required: false
default: ${{ github.token }}
commit_message:
description: "Commit message used while committing to the repo"
default: "Automated commit by Keepalive Workflow to keep the repository active"
required: false
committer_username:
description: "Username used while committing to the repo"
default: "gkr-bot"
required: false
committer_email:
description: "Email id used while committing to the repo"
default: "[email protected]"
required: false
time_elapsed:
description: "Time elapsed from the last commit to trigger a new automated commit or API call (in days)"
default: "45"
required: false
auto_push:
description: "Defines if the workflow pushes the changes automatically"
default: "true"
required: false
auto_write_check:
description: "Specifies whether the workflow will verify the repository's write access privilege for the token before executing"
default: "false"
required: false
use_api:
description: "Instead of using dummy commits, workflow uses GitHub API to keep the repository active. This will keep your commit history clean. Make sure you set a gh_token with actions:write permission."
default: "true"
required: false
workflow_files:
description: "Comma separated list of workflow files. You can use this to keepalive another workflow that's not a part of keepalive workflow"
default: ""
required: false
runs:
using: node20
main: dist/index.js
branding:
icon: 'truck'
color: 'blue'