Skip to content

Discoverabiltiy in kuksa.val.v1 API to enable e.g. Autocompletion #285

Discoverabiltiy in kuksa.val.v1 API to enable e.g. Autocompletion

Discoverabiltiy in kuksa.val.v1 API to enable e.g. Autocompletion #285

Workflow file for this run

name: spdx
on:
pull_request
jobs:
check-spdx-headers:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
# required to grab the history of the PR
fetch-depth: 0
- name: Get changed files
run: |
echo "files=$(git diff --name-only ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} | tr '\n' ',')" >> $GITHUB_ENV
- name: Set license
run: |
echo "licenses=Apache-2.0" >> $GITHUB_ENV
- uses: ./.github/actions/spdx
with:
files: "${{ env.files }}"
licenses: "${{ env.licenses }}"