Skip to content

Commit f5b3154

Browse files
Add CodeQL and modernize Renovate checks
1 parent 80809db commit f5b3154

4 files changed

Lines changed: 43 additions & 7 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,8 @@ jobs:
3030
node-version: 24
3131
- run: npm install
3232
- run: npm run lint
33+
renovate-config:
34+
runs-on: ubuntu-latest
35+
steps:
36+
- uses: actions/checkout@v6
37+
- run: npx --yes --package renovate -- renovate-config-validator --strict

.github/workflows/codeql.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: '20 6 * * 1'
8+
9+
jobs:
10+
analyze:
11+
name: Analyze
12+
runs-on: ubuntu-latest
13+
permissions:
14+
actions: read
15+
contents: read
16+
security-events: write
17+
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v5
21+
22+
- name: Initialize CodeQL
23+
uses: github/codeql-action/init@v4
24+
with:
25+
languages: javascript-typescript
26+
build-mode: none
27+
28+
- name: Perform CodeQL analysis
29+
uses: github/codeql-action/analyze@v4

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
[![Build Status](https://github.com/JustinBeckwith/yes-https/workflows/ci/badge.svg)](https://github.com/JustinBeckwith/yes-https/actions/)
44
[![npm version](https://badge.fury.io/js/yes-https.svg)](https://badge.fury.io/js/yes-https)
5-
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)
6-
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
5+
[![Checked with Biome](https://img.shields.io/badge/checked_with-Biome-60a5fa.svg)](https://biomejs.dev)
6+
[![Release Please](https://img.shields.io/badge/release--please-enabled-4285f4.svg)](https://github.com/googleapis/release-please)
77

88
`yes-https` is a happy little npm module that makes it easy to require `https` for your connect based application.
99

renovate.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
23
"extends": [
3-
"config:base",
4-
":disableDependencyDashboard"
5-
],
6-
"pinVersions": false,
7-
"rebaseStalePrs": true
4+
"config:recommended",
5+
":disableDependencyDashboard",
6+
":enableVulnerabilityAlerts",
7+
":configMigration",
8+
":rebaseStalePrs"
9+
]
810
}

0 commit comments

Comments
 (0)