Skip to content

Commit 3fde535

Browse files
committed
fix: SHA-pin checkout action, add permissions
1 parent 48f1f45 commit 3fde535

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/rsr-antipattern.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# RSR Anti-Pattern CI Check
21
# SPDX-License-Identifier: AGPL-3.0-or-later
2+
# RSR Anti-Pattern CI Check
33
#
44
# Enforces: No TypeScript, No Go, No Python (except SaltStack), No npm
55
# Allows: ReScript, Deno, WASM, Rust, OCaml, Haskell, Guile/Scheme
@@ -12,11 +12,13 @@ on:
1212
pull_request:
1313
branches: [main, master, develop]
1414

15+
permissions: read-all
16+
1517
jobs:
1618
antipattern-check:
1719
runs-on: ubuntu-latest
1820
steps:
19-
- uses: actions/checkout@v6.0.1
21+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2022

2123
- name: Check for TypeScript
2224
run: |

0 commit comments

Comments
 (0)