Skip to content

Commit 1e0d995

Browse files
committed
fix: add SPDX header to prek.toml and permissions to CI workflow
1 parent 43e96f1 commit 1e0d995

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/prek-check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
pull_request:
1111
branches: [ master, next, dev-* ]
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
pre-commit:
1518
runs-on: ubuntu-latest

prek.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: © 2025 Phala Network <dstack@phala.network>
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
15
# =============================================================================
26
# prek configuration for dstack
37
# =============================================================================

0 commit comments

Comments
 (0)