Skip to content

Commit

Permalink
Adds an action to validate proposed PRs
Browse files Browse the repository at this point in the history
Signed-off-by: Alexios Zavras (zvr) <[email protected]>
  • Loading branch information
zvr authored and goneall committed Jan 23, 2024
1 parent e10e7b6 commit 740cbf9
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/validate-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: validate PR

on:
pull-request

jobs:
doit:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: get spec-parser
run: |
git clone --depth=1 --single-branch --branch=main https://github.com/spdx/spec-parser/ /tmp/spec-parser
python /tmp/spec-parser/main.py -h
- name: run spec-parser to validate
run: |
python /tmp/spec-parser/main.py -n model

0 comments on commit 740cbf9

Please sign in to comment.