Skip to content

Commit

Permalink
add reuse compliance workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Martijn Govers <[email protected]>
  • Loading branch information
mgovers committed Jan 30, 2024
1 parent 25d843c commit 882b2da
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/reuse-compliance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0


name: REUSE Compliance Check

on:
# run pipeline on push event of main or release branch
push:
branches:
- main
- 'release/**'
# run pipeline on pull request
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
reuse-compliance-check:
if: (github.event_name == 'push') || (!startsWith(github.head_ref, 'release'))
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v2

0 comments on commit 882b2da

Please sign in to comment.