diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..b569403 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,6 @@ +* @mkarson1997 + +/.github/ @mkarson1997 +/src/ @mkarson1997 +/migrations/ @mkarson1997 +/tests/ @mkarson1997 diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..b7d890f --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -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. diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..47e7605 --- /dev/null +++ b/.github/dependabot.yml @@ -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 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..e34a0aa --- /dev/null +++ b/.github/workflows/codeql.yml @@ -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 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: javascript-typescript + + - name: Perform CodeQL analysis + uses: github/codeql-action/analyze@v3