-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (33 loc) · 1.17 KB
/
reuse-check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
# SPDX-FileCopyrightText: Free Software Foundation Europe
#
# SPDX-License-Identifier: GPL-3.0-or-later
name: REUSE Compliance Check
on: # yamllint disable-line rule:truthy
push:
branches: [main, develop, release, improve_build-workflow]
# pull_request event is required only for autolabeler
pull_request:
# Only following types are handled by the action, but one can
# default to all as well
types: [opened, reopened, synchronize]
# pull_request_target event is required for autolabeler to
# support PRs from forks
# pull_request_target:
permissions:
contents: read
jobs:
ReuseCheck:
# Skip any PR created by dependabot to avoid permission issues:
if: (github.actor != 'dependabot[bot]')
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: 🧰 Checkout Source Code
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
- name: REUSE Compliance Check
uses: fsfe/reuse-action@a46482ca367aef4454a87620aa37c2be4b2f8106 # v3.0.0