Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 385608c

Browse files
authored
ci: use reusable prek workflow (#103)
1 parent 3eea383 commit 385608c

2 files changed

Lines changed: 15 additions & 11 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,12 @@ concurrency:
1515
group: "${{ github.ref }}-ci"
1616
cancel-in-progress: true
1717

18+
permissions:
19+
contents: read
1820

1921
jobs:
2022
lint:
21-
runs-on: ubuntu-latest
22-
permissions:
23-
contents: read
24-
steps:
25-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
26-
with:
27-
persist-credentials: false
28-
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
29-
env:
30-
# run in test when testing the markdownlint workflow
31-
SKIP: markdownlint-cli2
23+
uses: opalmedapps/actions/.github/workflows/prek.yaml@main
24+
with:
25+
# run in test when testing the markdownlint workflow
26+
skip: markdownlint-cli2

zizmor.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# SPDX-FileCopyrightText: Copyright (C) 2026 Opal Health Informatics Group <https://www.opalmedapps.com>
2+
#
3+
# SPDX-License-Identifier: MIT
4+
5+
rules:
6+
unpinned-uses:
7+
config:
8+
policies:
9+
opalmedapps/actions/*: ref-pin

0 commit comments

Comments
 (0)