mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Add publiccode.yml check as a GitHub workflow
Check the publiccode.yml is still valid and adheres to the spec whenever it's changed.
This commit is contained in:
parent
fb45fddfa9
commit
66e2484a7a
1 changed files with 18 additions and 0 deletions
18
.github/workflows/publiccode-yml-validation.yml
vendored
Normal file
18
.github/workflows/publiccode-yml-validation.yml
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
name: publiccode.yml validation
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- publiccode.yml
|
||||
push:
|
||||
paths:
|
||||
- publiccode.yml
|
||||
|
||||
jobs:
|
||||
publiccode_yml_validation:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: italia/publiccode-parser-action@v1
|
||||
with:
|
||||
publiccode: "publiccode.yml"
|
||||
Loading…
Reference in a new issue