This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
generated from technote-space/gh-actions-template
-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
action.yml
85 lines (75 loc) · 1.91 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: Broken Link Checker Action
description: GitHub Actions to check broken links and create issues.
author: technote-space
inputs:
GITHUB_TOKEN:
description: Secret GitHub API token to use for making API requests.
default: ${{ github.token }}
required: true
TARGET:
description: Target link
default: https://github.com/${{ github.repository }}
required: true
RECURSIVE:
description: Recursive?
required: false
TITLE:
description: Issue title
required: true
default: Broken link found (${URL})
BODY:
description: Issue body
required: true
default: |
## Broken link found
Broken Link Checker found a broken link on ${TARGET}
Target: `${URL}`
> ${REASON}
[View Actions Results](https://github.com/${OWNER}/${REPO}/commit/${SHA}/checks)
LABELS:
description: Labels
required: false
ASSIGNEES:
description: Assignees
required: false
ACCEPTED_SCHEMES:
description: Accepted schemes
required: false
EXCLUDED_KEYWORDS:
description: Excluded keyhwords
required: false
default: camo.githubusercontent.com
EXCLUDED_SCHEMES:
description: Excluded schemes
required: false
INCLUDED_KEYWORDS:
description: Included keywords
required: false
EXCLUDE_EXTERNAL_LINKS:
description: Exclude external links?
required: false
EXCLUDE_INTERNAL_LINKS:
description: Exclude internal links?
required: false
EXCLUDE_LINKS_TO_SAME_PAGE:
description: Exclude links to same page?
required: false
HONOR_ROBOT_EXCLUSIONS:
description: Honor robot exclusions?
required: false
FILTER_LEVEL:
description: Filter level
required: false
USER_AGENT:
description: User agent
required: false
RATE_LIMIT:
description: Rate limit
required: false
default: '1000'
branding:
icon: 'link'
color: 'orange'
runs:
using: node12
main: lib/main.js