@@ -30,7 +30,7 @@ You can include the following lines in your workflow .yml file to run the lint s
3030# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. <https://fsfe.org>
3131#
3232# SPDX-License-Identifier: CC0-1.0
33-
33+ ---
3434name : REUSE Compliance Check
3535
3636on : [push, pull_request]
@@ -42,33 +42,33 @@ jobs:
4242 reuse-compliance-check :
4343 runs-on : ubuntu-latest
4444 steps :
45- - name : Checkout
46- uses : actions/checkout@v4
45+ - name : Checkout
46+ uses : actions/checkout@v4
4747
48- - name : REUSE Compliance Check
49- uses : fsfe/reuse-action@v5
48+ - name : REUSE Compliance Check
49+ uses : fsfe/reuse-action@v5
5050` ` `
5151
5252If you would like to run other subcommands, you could use the following snippet which outputs a the SPDX bill of materials:
5353
5454` ` ` yml
55- - name : Checkout
56- uses : actions/checkout@v4
57- - name : REUSE SPDX SBOM
58- uses : fsfe/reuse-action@v5
59- with :
60- args : spdx
55+ - name : Checkout
56+ uses : actions/checkout@v4
57+ - name : REUSE SPDX SBOM
58+ uses : fsfe/reuse-action@v5
59+ with :
60+ args : spdx
6161` ` `
6262
6363In the same fashion, it is possible to add optional arguments like ` --include-submodules`:
6464
6565` ` ` yml
66- - name: Checkout
67- uses: actions/checkout@v4
68- - name: REUSE Compliance Check
69- uses: fsfe/reuse-action@v5
70- with:
71- args: --include-submodules lint
66+ - name: Checkout
67+ uses: actions/checkout@v4
68+ - name: REUSE Compliance Check
69+ uses: fsfe/reuse-action@v5
70+ with:
71+ args: --include-submodules lint
7272` ` `
7373
7474
0 commit comments