Skip to content

Commit

Permalink
ci: Add lint license
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrilKoe committed Nov 19, 2024
1 parent dffbc7d commit 0cc3e92
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2024 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

# Author: Cyril Koenig <[email protected]>

name: lint-license

on: [ push, pull_request, workflow_dispatch ]

jobs:
lint-license:
runs-on: ubuntu-latest
steps:
- name: lint license
uses: pulp-platform/pulp-actions/[email protected] # update version as needed, not autoupdated
with:
license: |
Copyright (\d{4}(-\d{4})?\s)?(ETH Zurich and University of Bologna|lowRISC contributors).
(Solderpad Hardware License, Version 0.51|Licensed under the Apache License, Version 2.0), see LICENSE for details.
SPDX-License-Identifier: (SHL-0.51|Apache-2.0|GPL-2.0 OR Apache-2.0)

0 comments on commit 0cc3e92

Please sign in to comment.