Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ updates:
groups:
actions:
patterns: ["*"]
update-types: [minor, patch] # majors come as separate PRs
67 changes: 19 additions & 48 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -1,60 +1,31 @@
name: Dependency review

# The check and the shared licence allowlist live in 0xPolygon/pipelines.
on:
pull_request:

permissions: {}

jobs:
dependency-review:
name: Dependency review
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
pull-requests: write # comment-summary-in-pr
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0
with:
fail-on-severity: high
allow-licenses: >-
MIT,
Apache-2.0,
BSD-2-Clause,
BSD-3-Clause,
ISC,
0BSD,
MPL-2.0,
Unlicense,
CC0-1.0,
BlueOak-1.0.0,
BSD-2-Clause-Views,
CC-BY-3.0,
CC-BY-4.0,
MIT-0,
MITNFA,
PostgreSQL,
Python-2.0,
Unicode-3.0,
Zlib,
LicenseRef-scancode-google-patent-license-golang
# Already in the lockfile under copyleft or unparsed licence data; new
# dependencies with those licences still fail.
allow-dependencies-licenses: >-
pkg:npm/@img/sharp-libvips-darwin-arm64,
pkg:npm/@img/sharp-libvips-darwin-x64,
pkg:npm/@img/sharp-libvips-linux-arm,
pkg:npm/@img/sharp-libvips-linux-arm64,
pkg:npm/@img/sharp-libvips-linux-ppc64,
pkg:npm/@img/sharp-libvips-linux-riscv64,
pkg:npm/@img/sharp-libvips-linux-s390x,
pkg:npm/@img/sharp-libvips-linux-x64,
pkg:npm/@img/sharp-libvips-linuxmusl-arm64,
pkg:npm/@img/sharp-libvips-linuxmusl-x64,
pkg:npm/@img/sharp-win32-arm64,
pkg:npm/@img/sharp-win32-ia32,
pkg:npm/@img/sharp-win32-x64
comment-summary-in-pr: on-failure
uses: 0xPolygon/pipelines/.github/workflows/security-dependency-review.yml@cb7db0e0135424415839eefb4a81052a84cda278 # main, 2026-11-16
with:
# Already in the lockfile under copyleft or unparsed licence data; new
# dependencies with those licences still fail.
allow-dependencies-licenses: >-
pkg:npm/@img/sharp-libvips-darwin-arm64,
pkg:npm/@img/sharp-libvips-darwin-x64,
pkg:npm/@img/sharp-libvips-linux-arm,
pkg:npm/@img/sharp-libvips-linux-arm64,
pkg:npm/@img/sharp-libvips-linux-ppc64,
pkg:npm/@img/sharp-libvips-linux-riscv64,
pkg:npm/@img/sharp-libvips-linux-s390x,
pkg:npm/@img/sharp-libvips-linux-x64,
pkg:npm/@img/sharp-libvips-linuxmusl-arm64,
pkg:npm/@img/sharp-libvips-linuxmusl-x64,
pkg:npm/@img/sharp-win32-arm64,
pkg:npm/@img/sharp-win32-ia32,
pkg:npm/@img/sharp-win32-x64
18 changes: 5 additions & 13 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Workflow lint

# zizmor, shared from 0xPolygon/pipelines. No path filter, so it can be made a
# required check: a check skipped by a path filter stays pending.
on:
pull_request:
paths: [".github/**"]
schedule:
- cron: "41 6 * * 1"
workflow_dispatch:
Expand All @@ -11,17 +12,8 @@ permissions: {}

jobs:
zizmor:
name: zizmor
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
actions: read
security-events: write # SARIF upload to code scanning
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: zizmorcore/zizmor-action@85b2b9fb8e3325e7a23d7d0a9d7ba5ae0f999e3e # v0.7.1
with:
min-severity: medium
min-confidence: medium
advanced-security: true
uses: 0xPolygon/pipelines/.github/workflows/security-zizmor.yml@cb7db0e0135424415839eefb4a81052a84cda278 # main, 2026-11-16
Loading