-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
38 lines (38 loc) · 970 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
35
36
37
38
name: 'debian-control-linter'
author: 'tibetiroka'
description: 'Linter for debian control and copyright files'
branding:
icon: 'check-square'
color: 'green'
inputs:
file:
description: 'The target file'
required: false
preset:
description: 'The preset to use'
required: false
enable:
description: 'Additional checks to enable'
required: false
disable:
description: 'Additional checks to disable'
required: false
type:
description: 'The type of control file to lint'
required: false
runs:
using: "composite"
steps:
- uses: actions/checkout@v4
- name: Download linter
run: ${GITHUB_ACTION_PATH}/download.sh
shell: bash
- name: Run linter
run: ${GITHUB_ACTION_PATH}/execute.sh
shell: bash
env:
FILE: ${{ inputs.file }}
PRESET: ${{ inputs.preset }}
ENABLE: ${{ inputs.enable }}
DISABLE: ${{ inputs.disable }}
TYPE: ${{ inputs.type }}