REUSE Compliance Check #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2024 Marcellino Palerme <[email protected]> | |
# | |
# SPDX-License-Identifier: MIT | |
name: REUSE Compliance Check | |
on: | |
workflow_dispatch: | |
pull_request_target: | |
branches: | |
- main | |
- develop | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
# Load my repo | |
- uses: actions/checkout@v4 | |
# Check if futur new repo is REUSE compliant | |
- name: REUSE Compliance Check | |
uses: fsfe/reuse-action@v2 | |
with: | |
args: --include-submodules lint | |
# Close pull request if not REUSE compliant | |
- name: Stop pull request | |
if: ${{ failure() }} | |
uses: superbrothers/close-pull-request@v3 | |
with: | |
# Optional. Post a issue comment just before closing a pull request. | |
comment: "We do not accept PRs. Your part isn't REUSE Compliant. (see reuse.software)." |