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
12 changes: 10 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,21 @@ updates:
prefix: 'chore'
include: 'scope'
cooldown:
default-days: 5
default-days: 2
groups:
github-actions-minor-patch:
patterns: ['*']
update-types: ['minor', 'patch']
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'weekly'
interval: 'monthly'
commit-message:
prefix: 'chore'
include: 'scope'
cooldown:
default-days: 5
groups:
npm-minor-patch:
patterns: ['*']
update-types: ['minor', 'patch']
19 changes: 19 additions & 0 deletions .github/workflows/depsound-post.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Posts the report artifact without checking out or running PR code with its
# write token.
name: depsound-post
on:
workflow_run:
workflows: [depsound]
types: [completed]

permissions:
pull-requests: write # upsert the sticky comment
checks: write # set the neutral check
actions: read # download the report artifact from the compute run

jobs:
post:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.event == 'pull_request' }}
steps:
- uses: rvagg/depsound-action/post@2c5a7429aa5baaf8a79e12724a296282cd73e5ee # v0.2.1
14 changes: 14 additions & 0 deletions .github/workflows/depsound.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Computes dependency evidence with a read-only token; depsound-post handles
# the write side without exposing it to PR code.
name: depsound
on:
pull_request:

permissions:
contents: read # checkout + diff the PR's manifests; no write, never posts

jobs:
review:
runs-on: ubuntu-latest
steps:
- uses: rvagg/depsound-action@2c5a7429aa5baaf8a79e12724a296282cd73e5ee # v0.2.1
8 changes: 4 additions & 4 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repository
uses: actions/checkout@v7.0.0
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v6.4.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ matrix.node }}
- name: Install Dependencies
Expand All @@ -37,11 +37,11 @@ jobs:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v7.0.0
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v6.4.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: lts/*
registry-url: 'https://registry.npmjs.org'
Expand Down
Loading