mirror of
https://github.com/affaan-m/ECC.git
synced 2026-11-17 05:22:17 +00:00
Bumps the actions-minor-and-patch group with 6 updates in the / directory: | Package | From | To | | --- | --- | --- | | [actions/setup-node](https://github.com/actions/setup-node) | `7.0.0` | `7.1.0` | | [pnpm/action-setup](https://github.com/pnpm/action-setup) | `6.1.0` | `6.1.1` | | [actions/upload-artifact](https://github.com/actions/upload-artifact) | `7.0.1` | `7.0.2` | | [actions/download-artifact](https://github.com/actions/download-artifact) | `8.0.1` | `8.0.2` | | [NPMscan/npmscan-action](https://github.com/npmscan/npmscan-action) | `1.4.0` | `1.4.1` | | [softprops/action-gh-release](https://github.com/softprops/action-gh-release) | `3.0.3` | `3.0.4` | Updates `actions/setup-node` from 7.0.0 to 7.1.0 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/820762786026740c76f36085b0efc47a31fe5020...949feb2413d6458794dcd2491c4babbbce0c15c1) Updates `pnpm/action-setup` from 6.1.0 to 6.1.1 - [Release notes](https://github.com/pnpm/action-setup/releases) - [Commits](https://github.com/pnpm/action-setup/compare/ea17c68df8912ef543352723c149a84f56e3d413...73e46992e05b19abd31f2f3c20e0e7370d762115) Updates `actions/upload-artifact` from 7.0.1 to 7.0.2 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/043fb46d1a93c77aae656e7c1c64a875d1fc6a0a...cf430e030ddbb5b0abf93d22962f4752f3646cd9) Updates `actions/download-artifact` from 8.0.1 to 8.0.2 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c...9000827ccba6bdab643e8b6fd33ac0654aef8333) Updates `NPMscan/npmscan-action` from 1.4.0 to 1.4.1 - [Release notes](https://github.com/npmscan/npmscan-action/releases) - [Commits](https://github.com/npmscan/npmscan-action/compare/83cb7d67204f8f2d1f76454ee9abf19c480dec26...e2ff8c953f1a0b536abd70b4479984137c76e1fe) Updates `softprops/action-gh-release` from 3.0.3 to 3.0.4 - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/efb35369e0ad2afab669f228072c1b0d510eae64...8a0cd651e5b2365bd640854a3fa5dfc70e4875f3) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: 7.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-minor-and-patch - dependency-name: pnpm/action-setup dependency-version: 6.1.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-minor-and-patch - dependency-name: actions/upload-artifact dependency-version: 7.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-minor-and-patch - dependency-name: actions/download-artifact dependency-version: 8.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-minor-and-patch - dependency-name: NPMscan/npmscan-action dependency-version: 1.4.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-minor-and-patch - dependency-name: softprops/action-gh-release dependency-version: 3.0.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-minor-and-patch ... Signed-off-by: dependabot[bot] <support@github.com>
61 lines
2.2 KiB
YAML
61 lines
2.2 KiB
YAML
name: npmscan
|
|
|
|
# Warn-only dependency check. When package.json, package-lock.json or yarn.lock
|
|
# changes, it sends those files (base and PR versions) to npmscan.com and reports
|
|
# what the PR changes: known malware or vulnerabilities in changed packages, new
|
|
# install scripts, swapped tarballs or checksums, and override changes. No
|
|
# environment variables or GitHub token are intentionally included. Values
|
|
# embedded in dependency files are included, such as registry URLs and scripts.
|
|
# Non-regular checkout inputs are refused before transmission. The check is
|
|
# warning-only and comments on findings; the full report is in the job summary.
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- package.json
|
|
- package-lock.json
|
|
- yarn.lock
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: npmscan-${{ github.event.pull_request.number }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
scan:
|
|
name: npmscan dependency check
|
|
runs-on: ubuntu-latest
|
|
# The action gives up on a hung API after about 5 minutes per scanned file.
|
|
timeout-minutes: 20
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write # only for the one report comment; fork PRs get a read-only token and use the job summary
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
- name: Check dependency input boundaries
|
|
id: input-safety
|
|
shell: bash
|
|
run: |
|
|
safe=true
|
|
for dependency_file in package.json package-lock.json yarn.lock; do
|
|
if [ -L "$dependency_file" ] || { [ -e "$dependency_file" ] && [ ! -f "$dependency_file" ]; }; then
|
|
safe=false
|
|
echo "::warning::Skipping external dependency scan: $dependency_file is not a regular checkout file."
|
|
fi
|
|
done
|
|
echo "safe=$safe" >> "$GITHUB_OUTPUT"
|
|
- if: steps.input-safety.outputs.safe == 'true'
|
|
uses: NPMscan/npmscan-action@e2ff8c953f1a0b536abd70b4479984137c76e1fe # v1.4.1
|
|
with:
|
|
files: |
|
|
package.json
|
|
package-lock.json
|
|
yarn.lock
|
|
mode: warn
|
|
fail-on-error: false
|
|
comment: on-findings
|