forked from tivv/checkstyle-github-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
36 lines (36 loc) · 1.57 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
name: 'Push Checkstyle report'
description: 'Push Checkstyle code adherence report'
author: 'Jan-Willem Gmelig Meyling'
inputs:
path:
description: 'A file, directory or wildcard pattern that describes where to find the reports'
required: true
name:
description: 'Check run name under which the report is created'
default: Checkstyle
title:
description: 'Check run title under which the report is created'
default: Checkstyle report
commit:
description: 'The commit sha to update the status'
token:
description: >
Personal access token (PAT) used to fetch the repository. The PAT is configured
with the local git config, which enables your scripts to run authenticated git
commands. The post-job step removes the PAT.
We recommend using a service account with the least permissions necessary.
Also when generating a new PAT, select the least scopes necessary.
[Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
default: ${{ github.token }}
changed-since:
description: >
This option allow uploading only violations in files that were changed
between the current commit and the base commit. Set this parameter to base branch name or commit to
skip marking violations on unchanged files. This is especially useful when project code style is changed
and iterative clean-up is performed.
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: umbrella
color: purple