-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yaml
More file actions
48 lines (45 loc) · 1.45 KB
/
action.yaml
File metadata and controls
48 lines (45 loc) · 1.45 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
44
45
46
47
48
name: 'github-update-recent-commits'
description: 'A GitHub Action that allows you to retrieve and update recent commits'
branding:
icon: 'align-left'
color: 'blue'
inputs:
GH_ACCESS_TOKEN:
description: Access token used to authenticate
required: true
MAX_COMMITS:
description: Max commits
required: true
default: 10
COMMIT_SHOW_TYPE:
description: Commit show type (LIST, TABLE, CUSTOM)
required: false
default: LIST
COMMIT_CUSTOM_LINE:
description: "Define a custom line. (MD, HTML) All Parameters; {{{commit_author_name}}} {{{commit_author_email}}} {{{commit_link}}} {{{commit_message}}} {{{commit_date}}} Example; ':page_facing_up: [{{{commit_message}}}]({{{commit_link}}}) - {{{commit_date}}}'"
required: false
default: "- :page_facing_up: [{{{commit_message}}}]({{{commit_link}}}) - {{{commit_date}}}"
GET_COMMITS_USER_NAME:
description: Get Commits username
required: true
GET_COMMITS_REPO_NAME:
description: Get Commits repo
required: true
GET_COMMITS_BRANCH_NAME:
description: Get Commits branch
required: true
UPDATE_MDFILE_USER_NAME:
description: Update MDFile username
required: true
UPDATE_MDFILE_REPO_NAME:
description: Update MDFile repo
required: true
UPDATE_MDFILE_BRANCH_NAME:
description: Update MDFile branch
required: true
UPDATE_MDFILE_NAME:
description: Update MDFile name
required: true
runs:
using: 'node16'
main: 'dist/index.js'