Skip to content

chore: remove duplicate CodeQL workflow (keep codeql.yml) #52

chore: remove duplicate CodeQL workflow (keep codeql.yml)

chore: remove duplicate CodeQL workflow (keep codeql.yml) #52

# SPDX-License-Identifier: AGPL-3.0-or-later
name: NPM/Bun Blocker
on: [push, pull_request]
permissions: read-all
jobs:
check:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Block npm/bun
run: |
if [ -f "package-lock.json" ] || [ -f "bun.lockb" ] || [ -f ".npmrc" ]; then
echo "npm/bun artifacts detected. Use Deno instead."
exit 1
fi
echo "No npm/bun violations"