Skip to content

Commit 48f1f45

Browse files
committed
fix: SHA-pin checkout action, add SPDX header and permissions
1 parent 3312f49 commit 48f1f45

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/npm-bun-blocker.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
# SPDX-License-Identifier: AGPL-3.0-or-later
12
name: NPM/Bun Blocker
3+
24
on: [push, pull_request]
5+
6+
permissions: read-all
7+
38
jobs:
49
check:
510
runs-on: ubuntu-latest
611
steps:
7-
- uses: actions/checkout@v6.0.1
12+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
813
- name: Block npm/bun
914
run: |
1015
if [ -f "package-lock.json" ] || [ -f "bun.lockb" ] || [ -f ".npmrc" ]; then

0 commit comments

Comments
 (0)