Resolve issues on workflows #682
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: 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 |