-
Notifications
You must be signed in to change notification settings - Fork 11
/
action.yml
34 lines (34 loc) · 984 Bytes
/
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
name: 'No Free Usage Action'
description: 'A NO-FREE-USAGE Bot for github. (Only worked with github action.)'
branding:
icon: 'bell-off'
color: 'red'
inputs:
forked:
description: 'Whether required user forked the repository. Use --no-forked to disable.'
required: false
default: '-f'
starred:
description: 'Whether required user starred the repository. Use --no-starred to disable.'
required: false
default: '-s'
token:
description: 'secrets.GITHUB_TOKEN'
required: true
event_path:
description: 'GITHUB_EVENT_PATH'
required: false
default: '/github/workflow/event.json'
words:
description: 'Reply content when closing.'
required: false
default: 'Please file the issue after you starred and forked the repo. Thanks! 🙂'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.forked }}
- ${{ inputs.starred }}
- ${{ inputs.token }}
- ${{ inputs.event_path }}
- ${{ inputs.words }}