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
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
* @mkarson1997

/.github/ @mkarson1997
/src/ @mkarson1997
/migrations/ @mkarson1997
/tests/ @mkarson1997
20 changes: 20 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## Summary

Describe the workflow-runtime change and why it is needed.

## Reliability impact

- [ ] Retry / lease / idempotency behavior was considered where relevant.
- [ ] Database and migration compatibility was considered where relevant.
- [ ] Observability or failure-mode impact was considered where relevant.

## Validation

- [ ] `npm run typecheck`
- [ ] `npm test`
- [ ] `npm run build`
- [ ] No credentials, tokens, production data, or connection strings were committed.

## Notes

Add migration notes, operational trade-offs, benchmark evidence, or follow-up work when useful.
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2
updates:
- package-ecosystem: npm
directory: /
schedule:
interval: weekly
open-pull-requests-limit: 5
groups:
npm-development-dependencies:
dependency-type: development

- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
open-pull-requests-limit: 5
30 changes: 30 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CodeQL

on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "21 4 * * 3"

permissions:
contents: read
security-events: write

jobs:
analyze:
name: Analyze JavaScript/TypeScript
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🚨 issue (security): The CodeQL workflow executes mutable major-version tags for checkout and both CodeQL actions, so a tag movement or compromised release runs unreviewed action code with security-events: write permission.

Triggers: When one of the referenced major tags is retagged or its upstream release is compromised.

Suggested fix: Pin each action to a reviewed commit SHA and let Dependabot update the SHA references.


- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: javascript-typescript

- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v3
Loading