w3c / wot-testing

Repository for WoT Testing purposes
15 stars 29 forks source link

Fix the validation script to use only modified or added files #505

Closed egekorkan closed 1 year ago

egekorkan commented 1 year ago

Our current validation pipeline at https://github.com/w3c/wot-testing/blob/main/.github/workflows/validation.yaml#L40 find all changed files. These include removed files as well. The request it makes for finding the filenames actually gives all files in the PR. We should improve the jq usage over there so that removed files are not used.

At https://api.github.com/repos/w3c/wot-testing/pulls/500/files one can see that item 1 of the array is removed and it should not be used.