File tree Expand file tree Collapse file tree 2 files changed +49
-24
lines changed Expand file tree Collapse file tree 2 files changed +49
-24
lines changed Original file line number Diff line number Diff line change @@ -139,27 +139,3 @@ jobs:
139139 run : |
140140 Remove-Item 'c:/Windows/System32/drivers/etc/hosts'
141141 make test_elixir
142-
143- license_compliance :
144- name : Check Licence Compliance
145-
146- runs-on : ubuntu-24.04
147-
148- steps :
149- - name : Use HTTPS instead of SSH for Git cloning
150- id : git-config
151- shell : bash
152- run : git config --global url.https://github.com/.insteadOf ssh://git@github.com/
153-
154- - name : Checkout project
155- id : checkout
156- uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
157-
158- - name : " Run OSS Review Toolkit"
159- id : ort
160- uses : ./.github/workflows/ort
161- with :
162- upload-reports : true
163- fail-on-violation : true
164- report-formats : " WebApp"
165- version : " ${{ github.sha }}"
Original file line number Diff line number Diff line change 1+ # SPDX-License-Identifier: Apache-2.0
2+ # SPDX-FileCopyrightText: 2021 The Elixir Team
3+
4+ name : License Compliance
5+
6+ on :
7+ push :
8+ branches :
9+ - main
10+
11+ pull_request :
12+ paths :
13+ - project.spdx.yml
14+ - .github/workflows/license_compliance.yml
15+ - .github/workflows/ort/**/*
16+ - .ort/**/*
17+
18+ workflow_dispatch :
19+
20+ permissions :
21+ contents : read
22+
23+ env :
24+ LANG : C.UTF-8
25+
26+ jobs :
27+ license_compliance :
28+ name : Check Licence Compliance
29+
30+ runs-on : ubuntu-24.04
31+
32+ steps :
33+ - name : Use HTTPS instead of SSH for Git cloning
34+ id : git-config
35+ shell : bash
36+ run : git config --global url.https://github.com/.insteadOf ssh://git@github.com/
37+
38+ - name : Checkout project
39+ id : checkout
40+ uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
41+
42+ - name : " Run OSS Review Toolkit"
43+ id : ort
44+ uses : ./.github/workflows/ort
45+ with :
46+ upload-reports : true
47+ fail-on-violation : true
48+ report-formats : " WebApp"
49+ version : " ${{ github.sha }}"
You can’t perform that action at this time.
0 commit comments