Skip to content

Commit c8ad050

Browse files
author
Victor Lomuller
authored
Add CI reuse check (KhronosGroup#525)
Reuse the VK job to check the license on PR
1 parent 7919b00 commit c8ad050

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/presubmit.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,16 @@ jobs:
131131
run: |
132132
cmake -S tests/pkg_config -B tests/pkg_config/build/ -D CMAKE_PREFIX_PATH=${GITHUB_WORKSPACE}/build/install
133133
cmake --build tests/pkg_config/build/
134+
135+
license-check:
136+
name: Verify repository license compliance
137+
runs-on: ubuntu-latest
138+
# We now refer to the container by its SHA instead of the name, to prevent
139+
# caching problems when updating the image.
140+
# container: khronosgroup/docker-images:asciidoctor-spec.20240726
141+
container: khronosgroup/docker-images@sha256:724f67d8562445523644abf017d5d192b369fafc122de75e9d26792c649821a0
142+
143+
steps:
144+
- uses: actions/checkout@v4
145+
- name: REUSE license checker
146+
run: reuse lint

0 commit comments

Comments
 (0)