Skip to content

fix(ci): re-pin rust-ci-reusable past toolchain-input breakage #12

fix(ci): re-pin rust-ci-reusable past toolchain-input breakage

fix(ci): re-pin rust-ci-reusable past toolchain-input breakage #12

# SPDX-License-Identifier: MPL-2.0
name: NPM/Bun Blocker
on:
push:
branches: [main, master]
pull_request:
# Estate guardrail: scope push to default branches so a PR fires once (not
# push+PR), and cancel superseded runs. Safe — read-only PR-triggered check.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- 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"