Add Dependabot, dependency-audit CI, and refresh SECURITY.md (#2567)

This commit is contained in:
Lance Pioch authored and GitHub committed 2026-09-16 13:52:47 -04:00
1 parent 6c9d58f79e
commit fa40c59b7b
3 files changed
+67 -1

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
version: 2
updates:
- package-ecosystem: composer
directory: /
schedule:
interval: weekly
groups:
composer:
patterns:
- "*"
- package-ecosystem: npm
directory: /
schedule:
interval: weekly
groups:
npm:
patterns:
- "*"
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
groups:
actions:
patterns:
- "*"
+40
View File
@@ -0,0 +1,40 @@
name: Security Audit
on:
pull_request:
branches:
- "**"
schedule:
- cron: "0 6 * * 1"
jobs:
composer-audit:
name: Composer Audit
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v6
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.5"
tools: composer:v2
coverage: none
- name: Composer Audit
run: composer audit --locked --no-interaction
yarn-audit:
name: Yarn Audit
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v6
- name: Yarn Audit
# Yarn classic's exit code is a bitmask (8 = high, 16 = critical);
# --level only filters the output, so mask the code to match it.
run: |
yarn audit --level high || code=$?
exit $(( ${code:-0} & 24 ? 1 : 0 ))
+1 -1
View File
@@ -2,7 +2,7 @@
## Supported Versions
While Pelican is in beta, we only provide security fixes for the most recent beta release. Older beta releases are unsupported.
We only provide security fixes for the most recent release. Older releases are unsupported; upgrade to receive fixes.
![](https://img.shields.io/github/v/release/pelican/panel?label=latest-release)
## Reporting a Vulnerability