Skip to content

ci: Add lint license #4

ci: Add lint license

ci: Add lint license #4

Workflow file for this run

# 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)