Skip to content

Commit

Permalink
Setup pre-commit checks
Browse files Browse the repository at this point in the history
  • Loading branch information
vmilosevic committed Nov 14, 2024
1 parent dd16b75 commit 074bbd2
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/actions/collect_data/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ inputs:
description: "SSH private key"
required: false
type: string

runs:
using: "composite"
steps:
Expand Down
5 changes: 2 additions & 3 deletions .github/actions/collect_data/src/cicd.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# SPDX-FileCopyrightText: © 2023 Tenstorrent Inc.

# SPDX-FileCopyrightText: (c) 2024 Tenstorrent AI ULC
#
# SPDX-License-Identifier: Apache-2.0

import json
from loguru import logger

Expand Down
15 changes: 15 additions & 0 deletions .github/check-spdx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
DEFAULT:
perform_check: yes # Perform check for all files
allowed_licenses:
- Apache-2.0
- BSD-3-Clause
- MIT
license_for_new_files: Apache-2.0 # license to be used when inserting a new copyright notice
new_notice_c: |+ # notice for new C, CPP, H, HPP and LD files
// SPDX-FileCopyrightText: (c) {years} Tenstorrent AI ULC
//
// SPDX-License-Identifier: {license}
new_notice_python: |+ # notice for new python files
# SPDX-FileCopyrightText: (c) {years} Tenstorrent AI ULC
#
# SPDX-License-Identifier: {license}
15 changes: 0 additions & 15 deletions .github/workflows/spdx.yml

This file was deleted.

0 comments on commit 074bbd2

Please sign in to comment.