1- # SPDX-License-Identifier: MPL-2.0
1+ # SPDX-License-Identifier: AGPL-3.0-or-later
22name : Code Quality
3-
43on : [push, pull_request]
54
5+
66permissions : read-all
77
88jobs :
@@ -11,46 +11,46 @@ jobs:
1111 permissions :
1212 contents : read
1313 steps :
14- - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
15-
14+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15+
1616 - name : Check file permissions
1717 run : |
1818 find . -type f -perm /111 -name "*.sh" | head -10 || true
19-
19+
2020 - name : Check for secrets
21- uses : trufflesecurity/trufflehog@ef6e76c3c4023279497fab4721ffa071a722fd05 # v3.88 .3
21+ uses : trufflesecurity/trufflehog@05cccb53bc9e13bc6d17997db5a6bcc3df44bf2f # v3.92 .3
2222 with :
2323 path : ./
2424 base : ${{ github.event.pull_request.base.sha || github.event.before }}
2525 head : ${{ github.sha }}
2626 continue-on-error : true
27-
27+
2828 - name : Check TODO/FIXME
2929 run : |
3030 echo "=== TODOs ==="
3131 grep -rn "TODO\|FIXME\|HACK\|XXX" --include="*.rs" --include="*.res" --include="*.py" --include="*.ex" . | head -20 || echo "None found"
32-
32+
3333 - name : Check for large files
3434 run : |
3535 find . -type f -size +1M -not -path "./.git/*" | head -10 || echo "No large files"
36-
36+
3737 - name : EditorConfig check
38- uses : editorconfig-checker/action-editorconfig-checker@8f4bf2460c5c7f2597a10abb3e0e1c3b7a7df044 # v2.0 .0
38+ uses : editorconfig-checker/action-editorconfig-checker@8c9b118d446fce7e6410b6c0a3ce2f83bd04e97a # v2.1 .0
3939 continue-on-error : true
4040
4141 docs :
4242 runs-on : ubuntu-latest
4343 permissions :
4444 contents : read
4545 steps :
46- - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
46+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4747 - name : Check documentation
4848 run : |
4949 MISSING=""
5050 [ ! -f "README.md" ] && [ ! -f "README.adoc" ] && MISSING="$MISSING README"
5151 [ ! -f "LICENSE" ] && [ ! -f "LICENSE.txt" ] && [ ! -f "LICENSE.md" ] && MISSING="$MISSING LICENSE"
5252 [ ! -f "CONTRIBUTING.md" ] && [ ! -f "CONTRIBUTING.adoc" ] && MISSING="$MISSING CONTRIBUTING"
53-
53+
5454 if [ -n "$MISSING" ]; then
5555 echo "::warning::Missing docs:$MISSING"
5656 else
0 commit comments