-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
55 lines (52 loc) · 1.7 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
49
50
51
52
53
54
55
name: GitHub Workflow Immortality
description: Keeps cronjob based triggers of GitHub workflows alive.
inputs:
secret:
description: Personal access token of the executing GitHub user
required: true
include_forks:
description: Also includes forks when loading repositories
required: false
default: false
owner_repos:
description: Loads all repositories of the authenticated GitHub user (includes both public and private repositories)
required: false
default: false
collaborator_repos:
description: Loads all repositories of which the authenticated GitHub user is a collaborator of
required: false
default: false
member_repos:
description: Loads all repositories of organizations of which the authenticated GitHub user is a member of
required: false
default: false
users:
description: Loads all public repositories of the given GitHub users
required: false
default: ""
orgs:
description: Loads all repositories of the given GitHub organizations
required: false
default: ""
repos:
description: Loads the given repositories
required: false
default: ""
runs:
using: composite
steps:
- name: Run gh-workflow-immortality.sh
shell: bash
env:
GITHUB_TOKEN: ${{ inputs.secret }}
OWNER_REPOS: ${{ inputs.owner_repos }}
COLLABORATOR_REPOS: ${{ inputs.collaborator_repos }}
MEMBER_REPOS: ${{ inputs.member_repos }}
INCLUDE_FORKS: ${{ inputs.include_forks }}
REPOS_USERS: ${{ inputs.users }}
REPOS_ORGS: ${{ inputs.orgs }}
REPOS: ${{ inputs.repos }}
run: ${GITHUB_ACTION_PATH}/gh-workflow-immortality.sh
branding:
icon: activity
color: gray-dark