Skip to content

Commit 1247fd9

Browse files
committed
Merge branch 'main' into dependabot/npm_and_yarn/actions/github-6.0.0
2 parents 5b522d3 + 2f4fec3 commit 1247fd9

File tree

11 files changed

+4171
-4063
lines changed

11 files changed

+4171
-4063
lines changed

.github/workflows/generate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && git push origin main
5555
5656
- name: Setup Node.js
57-
uses: actions/setup-node@v3.8.1
57+
uses: actions/setup-node@v4.0.2
5858
with:
5959
node-version: 20
6060

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
ref: ${{ github.event.release.tag_name }}
2020

2121
- name: Setup Node
22-
uses: actions/setup-node@v3.8.1
22+
uses: actions/setup-node@v4.0.2
2323
with:
2424
node-version: 20
2525

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v4
2323
- name: Setup Node.js
24-
uses: actions/setup-node@v3.8.1
24+
uses: actions/setup-node@v4.0.2
2525
with:
2626
node-version: 20
2727
- run: npm ci

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,33 @@
66

77
**🚀 Implemented enhancements:**
88

9+
- Fix artifact upload, new parameter `uploadSarifReport` [\#250](https://github.com/pmd/pmd-github-action/pull/250) (@adangel)
910
- Upgrade to node20 [\#221](https://github.com/pmd/pmd-github-action/pull/221) (@adangel)
1011

1112
**📦 Dependency updates:**
1213

14+
- Bump @actions/artifact from 2.0.1 to 2.1.4 [\#263](https://github.com/pmd/pmd-github-action/pull/263) (@dependabot[bot])
15+
- Bump nock from 13.5.0 to 13.5.4 [\#262](https://github.com/pmd/pmd-github-action/pull/262) (@dependabot[bot])
16+
- Bump eslint from 8.56.0 to 8.57.0 [\#259](https://github.com/pmd/pmd-github-action/pull/259) (@dependabot[bot])
17+
- Bump actions/setup-node from 4.0.1 to 4.0.2 [\#256](https://github.com/pmd/pmd-github-action/pull/256) (@dependabot[bot])
18+
- Bump semver from 7.5.4 to 7.6.0 [\#255](https://github.com/pmd/pmd-github-action/pull/255) (@dependabot[bot])
19+
- Bump nock from 13.4.0 to 13.5.0 [\#248](https://github.com/pmd/pmd-github-action/pull/248) (@dependabot[bot])
20+
- Bump @actions/artifact from 2.0.0 to 2.0.1 [\#247](https://github.com/pmd/pmd-github-action/pull/247) (@dependabot[bot])
21+
- Bump actions/setup-node from 4.0.0 to 4.0.1 [\#245](https://github.com/pmd/pmd-github-action/pull/245) (@dependabot[bot])
22+
- Bump eslint from 8.55.0 to 8.56.0 [\#244](https://github.com/pmd/pmd-github-action/pull/244) (@dependabot[bot])
23+
- Bump @actions/artifact from 1.1.2 to 2.0.0 [\#243](https://github.com/pmd/pmd-github-action/pull/243) (@dependabot[bot])
24+
- Bump eslint from 8.54.0 to 8.55.0 [\#242](https://github.com/pmd/pmd-github-action/pull/242) (@dependabot[bot])
25+
- Bump nock from 13.3.8 to 13.4.0 [\#241](https://github.com/pmd/pmd-github-action/pull/241) (@dependabot[bot])
26+
- Bump eslint from 8.53.0 to 8.54.0 [\#240](https://github.com/pmd/pmd-github-action/pull/240) (@dependabot[bot])
27+
- Bump eslint from 8.52.0 to 8.53.0 [\#238](https://github.com/pmd/pmd-github-action/pull/238) (@dependabot[bot])
28+
- Bump nock from 13.3.7 to 13.3.8 [\#237](https://github.com/pmd/pmd-github-action/pull/237) (@dependabot[bot])
29+
- Bump nock from 13.3.6 to 13.3.7 [\#236](https://github.com/pmd/pmd-github-action/pull/236) (@dependabot[bot])
30+
- Bump actions/setup-node from 3.8.1 to 4.0.0 [\#235](https://github.com/pmd/pmd-github-action/pull/235) (@dependabot[bot])
31+
- Bump eslint from 8.51.0 to 8.52.0 [\#234](https://github.com/pmd/pmd-github-action/pull/234) (@dependabot[bot])
32+
- Bump nock from 13.3.4 to 13.3.6 [\#233](https://github.com/pmd/pmd-github-action/pull/233) (@dependabot[bot])
33+
- Bump @vercel/ncc from 0.38.0 to 0.38.1 [\#232](https://github.com/pmd/pmd-github-action/pull/232) (@dependabot[bot])
34+
- Bump nock from 13.3.3 to 13.3.4 [\#230](https://github.com/pmd/pmd-github-action/pull/230) (@dependabot[bot])
35+
- Bump eslint from 8.50.0 to 8.51.0 [\#229](https://github.com/pmd/pmd-github-action/pull/229) (@dependabot[bot])
1336
- Bump @octokit/rest from 20.0.1 to 20.0.2 [\#227](https://github.com/pmd/pmd-github-action/pull/227) (@dependabot[bot])
1437
- Bump eslint from 8.49.0 to 8.50.0 [\#226](https://github.com/pmd/pmd-github-action/pull/226) (@dependabot[bot])
1538
- Bump jest from 29.6.4 to 29.7.0 [\#225](https://github.com/pmd/pmd-github-action/pull/225) (@dependabot[bot])
@@ -42,6 +65,10 @@
4265
- Bump convert-action from 0.2.0 to 0.2.2 [\#194](https://github.com/pmd/pmd-github-action/pull/194) (@dependabot[bot])
4366
- Bump eslint from 8.41.0 to 8.42.0 [\#192](https://github.com/pmd/pmd-github-action/pull/192) (@dependabot[bot])
4467

68+
**✔️ Closed issues:**
69+
70+
- Getting Warning in Node version only for PMD [\#253](https://github.com/pmd/pmd-github-action/issues/253)
71+
4572
## [v1.4.1](https://github.com/pmd/pmd-github-action/tree/v1.4.1) (2023-05-26)
4673

4774
[Full Changelog](https://github.com/pmd/pmd-github-action/compare/v1.4.0...v1.4.1)

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ See also [Uploading a SARIF file to GitHub](https://docs.github.com/en/code-secu
8383
|`rulesets` |yes| |Comma separated list of ruleset names to use.|
8484
|`analyzeModifiedFilesOnly`|no|"true"|Instead of analyze all files under "sourcePath", only the files that have been touched in a pull request or push will be analyzed. This makes the analysis faster and helps especially bigger projects which gradually want to introduce PMD. This helps in enforcing that no new code violation is introduced.<br>Depending on the analyzed language, the results might be less accurate results. At the moment, this is not a problem, as PMD mostly analyzes each file individually, but that might change in the future.<br>If the change is very big, not all files might be analyzed. Currently the maximum number of modified files is 300.<br>Note: When using PMD as a code scanner in order to create "Code scanning alerts" on GitHub, all files should be analyzed in order to produce a complete picture of the project. Otherwise alerts might get closed too soon.|
8585
|`createGitHubAnnotations`|no|"true"|By default, all detected violations are added as annotations to the pull request. You can disable this by setting FALSE. This can be useful if you are using another tool for this purpose.|
86+
|`uploadSarifReport`|no|"true"|By default, the generated SARIF report will be uploaded as an artifact named "PMD Report". This can be disabled, e.g. if there are multiple executions on multiple os of this action.|
8687

8788
## Outputs
8889

action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ inputs:
8282
are using another tool for this purpose.
8383
required: false
8484
default: 'true'
85+
uploadSarifReport:
86+
description: >-
87+
By default, the generated SARIF report will be uploaded as an artifact
88+
named "PMD Report". This can be disabled, e.g. if there are multiple
89+
executions on multiple os of this action.
90+
required: false
91+
default: 'true'
8592
outputs:
8693
violations:
8794
description: Number of violations found

dist/index.js

Lines changed: 81 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)