forked from jwgmeligmeyling/pmd-github-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
32 lines (32 loc) · 1.3 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
name: 'Publish PMD Code Report'
description: 'Push PMD Code Analysis report (adapted from jwgmeligmeyling/pmd-github-action)'
author: 'Luke Collins'
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: PMD
title:
description: 'Check run title under which the report is created'
default: PMD Source Code Analyzer report
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 }}
fail-on-violation:
description: 'Enables status markers to be added to check'
default: false
required: false
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: umbrella
color: purple