generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
62 lines (50 loc) · 1.44 KB
/
open-source-checks.yml
File metadata and controls
62 lines (50 loc) · 1.44 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# SPDX-FileCopyrightText: 2025 Telefónica Innovación Digital
# SPDX-License-Identifier: MIT
name: Open Source Checks
on:
pull_request:
push:
branches:
- main
- release
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
pull-requests: write
statuses: write
jobs:
check-opensource-scaffold:
name: Check Open Source Scaffold
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Check Open Source Scaffold
uses: Telefonica/opensource-scaffold@v1
check-license-compliance:
name: Check License Compliance
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check License Compliance
uses: Telefonica/check-license-compliance/.github/actions/check-and-comment@v3
with:
config-file: .github/check-license-compliance.config.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
check-spdx-headers:
name: Check SPDX Headers
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Check SPDX Headers
uses: Telefonica/check-spdx-headers/.github/actions/check-and-comment@v1
with:
config-file: .github/check-spdx-headers.config.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}