File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # SPDX-License-Identifier: MPL-2 .0-or-later
1+ # SPDX-License-Identifier: PMPL-1 .0-or-later
22name : NPM/Bun Blocker
33on : [push, pull_request]
44
1111 permissions :
1212 contents : read
1313 steps :
14- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2 .2
14+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0 .2
1515 - name : Block npm/bun
1616 run : |
1717 if [ -f "package-lock.json" ] || [ -f "bun.lockb" ] || [ -f ".npmrc" ]; then
Original file line number Diff line number Diff line change 1- # SPDX-License-Identifier: MPL-2 .0-or-later
1+ # SPDX-License-Identifier: PMPL-1 .0-or-later
22name : TypeScript/JavaScript Blocker
33on : [push, pull_request]
44
1111 permissions :
1212 contents : read
1313 steps :
14- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2 .2
14+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0 .2
1515 - name : Block new TypeScript/JavaScript
1616 run : |
1717 NEW_TS=$(git diff --name-only --diff-filter=A HEAD~1 2>/dev/null | grep -E '\.(ts|tsx)$' | grep -v '\.gen\.' || true)
You can’t perform that action at this time.
0 commit comments