sett-and-hive / sarif-to-issue-action

A GitHub action for @security-alert/sarif-to-issue
MIT License
2 stars 0 forks source link

Update pre-commit hook rhysd/actionlint to v1.7.1 #984

Closed renovate[bot] closed 4 months ago

renovate[bot] commented 4 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
rhysd/actionlint repository patch v1.7.0 -> v1.7.1

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

rhysd/actionlint (rhysd/actionlint) ### [`v1.7.1`](https://togithub.com/rhysd/actionlint/blob/HEAD/CHANGELOG.md#v171---28-May-2024) [Compare Source](https://togithub.com/rhysd/actionlint/compare/v1.7.0...v1.7.1) - Support `ubuntu-24.04` runner label, which was [recently introduced as beta](https://github.blog/changelog/2024-05-14-github-hosted-runners-public-beta-of-ubuntu-24-04-is-now-available/). ([#​425](https://togithub.com/rhysd/actionlint/issues/425), thanks [@​bitcoin-tools](https://togithub.com/bitcoin-tools)) - Remove the support for `macos-10` runner label which was [officially dropped about 2 years ago](https://github.blog/changelog/2022-07-20-github-actions-the-macos-10-15-actions-runner-image-is-being-deprecated-and-will-be-removed-by-8-30-22/). - Remove the support for `windows-2016` runner label which was [officially dropped about 2 years ago](https://github.blog/changelog/2021-10-19-github-actions-the-windows-2016-runner-image-will-be-removed-from-github-hosted-runners-on-march-15-2022/). - Document URLs used in help output and links in the playground prefer specific version tag rather than `main` branch. For example, - Before: https://github.com/rhysd/actionlint/tree/main/docs - After: https://github.com/rhysd/actionlint/tree/v1.7.1/docs - Fix actionlint wrongly reports an error when using `ghcr.io` or `docker.io` at `image` field of action metadata file of Docker action without `docker://` scheme. ([#​428](https://togithub.com/rhysd/actionlint/issues/428)) ```yaml runs: using: 'docker' ``` ### This should be OK image: 'ghcr.io/user/repo:latest' - Fix checking `preactjs/compressed-size-action@v2` usage caused a false positive. ([#​422](https://togithub.com/rhysd/actionlint/issues/422)) - Fix an error message when invalid escaping is found in globs. - The design of the [playground page](https://rhysd.github.io/actionlint/) is overhauled following the upgrade of bulma package to v1. - Current actionlint version is shown in the heading. - The color theme is changed to the official dark theme. - The list of useful links is added to the bottom of the page as 'Resources' section. [Changes][v1.7.1]

Configuration

📅 Schedule: Branch creation - "after 8pm every weekday,before 10am every weekday,every weekend" in timezone America/Chicago, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

github-actions[bot] commented 4 months ago

Testing script results from test/test.sh ✅ Test result: passes

Test script outputs from test/test.sh

+ set -C + SARIF_FILE=./test/fixtures/odc.sarif + TOKEN=fake-password + REPOSITORY=sett-and-hive/sarif-to-issue-action + BRANCH=fake-test-branch + TITLE='Test security issue from build' + LABELS=build + DRY_RUN=true + ODC_SARIF=true ++ echo sett-and-hive/sarif-to-issue-action ++ awk '-F[/]' '{print $1}' + OWNER=sett-and-hive ++ echo sett-and-hive/sarif-to-issue-action ++ awk '-F[/]' '{print $2}' + REPO=sarif-to-issue-action + '[' true == true ']' + fix_odc_sarif + ord_sarif=./test/fixtures/odc.sarif + mod_sarif=./test/fixtures/odc.sarif.mod + rm -f ./test/fixtures/odc.sarif.mod + jq '.runs[].tool.driver.rules[] |= . + {"defaultConfiguration": { "level": "error"}}' ./test/fixtures/odc.sarif + SARIF_FILE=./test/fixtures/odc.sarif.mod + echo 'Convert SARIF file ./test/fixtures/odc.sarif' Convert SARIF file ./test/fixtures/odc.sarif + npx @security-alert/sarif-to-issue --dryRun true --token fake-password --owner sett-and-hive --sarifContentOwner sett-and-hive --repo sarif-to-issue-action --sarifContentRepo sarif-to-issue-action --sarifContentBranch fake-test-branch --title 'Test security issue from build' --labels build ./test/fixtures/odc.sarif.mod Create Issue owner: sett-and-hive repo: sarif-to-issue-action labels: build assignees: title: Test security issue from build body: # Report ## Results - **[ERROR]** **[CVE-2022-24823]** `CVE-2022-24823 - Netty is an open-source, asynchronous event-driven network application framework. The package `io.netty:netty-codec-http` prior to version 4.1.77.Final contains an insufficient fix for CVE-2021-21290. When Netty's multipart decoders are used local information disclosure can occur via the local system temporary directory if temporary storing uploads on the disk is enabled. This only impacts applications running on Java version 6 and lower. Additionally, this vulnerability impacts code running on Unix-like systems, and very old versions of Mac OSX and Windows as they all share the system temporary directory between all users. Version 4.1.77.Final contains a patch for this vulnerability. As a workaround, specify one's own `java.io.tmpdir` when starting the JVM or use DefaultHttpDataFactory.setBaseDir\(...\) to set the directory to something that is only readable by the current user.` - ## Suppressed Results Nothing here. ## Rules information

Rules details - CVE-2022-24823 [undefined] > Medium severity - CVE-2022-24823 Exposure of Resource to Wrong Sphere vulnerability in pkg:maven/io.netty/netty-transport@4.1.76.Final
## Tool information - Name: dependency-check - Organization: undefined - Version: undefined (node:27) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created) + echo '::set-output name=output::0' ::set-output name=output::0