Skip to content

Commit

Permalink
Add the file this time
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksKnezevic committed Sep 23, 2024
1 parent 6e51fcf commit e0a4815
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: Build and Test
on:
workflow_dispatch:
workflow_call:
pull_request:
branches: [ "main" ]

jobs:
# build-ttxla:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/on-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: On PR

on:
workflow_dispatch:
pull_request:
branches: [ "main" ]

jobs:
spdx:
uses: ./.github/workflows/spdx.yml
secrets: inherit
build-and-test:
uses: ./.github/workflows/build-and-test.yml
secrets: inherit
17 changes: 17 additions & 0 deletions .github/workflows/spdx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: spdx

on:
workflow_dispatch:
workflow_call:

jobs:
check-spdx-headers:

timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- uses: enarx/spdx@master
with:
licenses: Apache-2.0

0 comments on commit e0a4815

Please sign in to comment.