Skip to content

Instantly share code, notes, and snippets.

@Davis-3450
Created December 15, 2025 09:55
Show Gist options
  • Select an option

  • Save Davis-3450/850d648759234ab0bc25ddbf3a983d55 to your computer and use it in GitHub Desktop.

Select an option

Save Davis-3450/850d648759234ab0bc25ddbf3a983d55 to your computer and use it in GitHub Desktop.
generic eslint config with bun (trigger with PR)
name: ESLint
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
# schedule: (disabled for now)
# - cron: "41 20 * * 3"
jobs:
eslint:
name: Run eslint scanning
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
actions: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies (locked)
run: bun install --frozen-lockfile
- name: Run ESLint
run: bunx eslint .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment