This action checks out the target repository, and runs the FSFE reuse tool on it. It roughly speaking combines
actions/checkout@v2
fsfe/reuse-action@master
The action is written for the context of the seL4 repositories, but should work more generally, although you might want to prefer the offical FSFE action, which also provides arguments and parameters (but does not check out the target repository).
The main action happens in steps.sh
, the JavaScript entry point
just calls this script.
token
: GitHub PA token to authenticate for private repos (optional)
Put this into a .github/workflows/
yaml file, e.g. license.yml
:
name: License
on:
push:
branches:
- master
pull_request:
jobs:
check:
name: License Check
runs-on: ubuntu-latest
steps:
- uses: seL4/ci-actions/license-check@master