-
Notifications
You must be signed in to change notification settings - Fork 124
Expand file tree
/
Copy pathgithub-actions.yml
More file actions
40 lines (34 loc) · 1003 Bytes
/
Copy pathgithub-actions.yml
File metadata and controls
40 lines (34 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: SecuritySkills validation
on:
pull_request:
push:
branches:
- main
jobs:
validate:
name: Validate skills, index, and fixtures
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
- name: Run SecuritySkills validation
run: |
ruby scripts/validate_skill_schema.rb
ruby scripts/validate_index.rb
ruby scripts/test_skill_fixtures.rb
- name: Prepare optional SecuritySkills artifacts
if: always()
run: mkdir -p artifacts/securityskills
- name: Upload normalized JSON and SARIF artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: securityskills-artifacts
path: |
artifacts/securityskills/*.json
artifacts/securityskills/*.sarif
if-no-files-found: ignore