Skip to content

Commit 0c340a4

Browse files
author
Gonzalo Diaz
committed
[BUGFIX] sonarcloud: Omitting "--only-binary :all:" can lead to the execution of setup scripts. Make sure it is safe here.
1 parent 43edc4f commit 0c340a4

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/yamllint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ jobs:
1818
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1919

2020
- name: Install yamllint
21-
run: pip install yamllint
21+
run: >
22+
python3 -m pip install --require-hashes --only-binary :all: -r requirements.lock.txt
2223
2324
- name: Lint YAML files
2425
run: >

requirements.lock.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
yamllint==1.38.0 \
2+
--hash=sha256:fc394a5b3be980a4062607b8fdddc0843f4fa394152b6da21722f5d59013c220

0 commit comments

Comments
 (0)