Skip to content
Open
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
49 changes: 49 additions & 0 deletions .github/workflows/security-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Per-repo caller workflow.
# Copy this file into each repo that should receive automated security fixes.
# The reusable workflow lives in getditto/.github.
# See TINES_AUTOMATION.md for the full design.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


name: Security Update

on:
workflow_dispatch:
inputs:
ecosystem:
description: 'Package ecosystem (npm, cargo, docker, go, python)'
required: true
type: choice
options:
- npm
- cargo
- docker
- go
- python
alerts:
description: 'JSON array of {package, version, cve, manifest}'
required: true
type: string
linear_tickets:
description: 'Comma-separated Linear ticket IDs'
required: false
type: string
batch_id:
description: 'Unique batch identifier'
required: true
type: string
reviewers:
description: 'Comma-separated GitHub teams/users to request review from'
required: false
type: string
default: 'security-team,copilot'

jobs:
fix:
uses: getditto/ditto/.github/workflows/security-update-claude.yml@main
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't work because we don't allow cross-repo workflow invocation.

Image

with:
ecosystem: ${{ inputs.ecosystem }}
alerts: ${{ inputs.alerts }}
linear_tickets: ${{ inputs.linear_tickets }}
batch_id: ${{ inputs.batch_id }}
reviewers: ${{ inputs.reviewers }}
secrets:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
Loading