Skip to content

Commit 3c5f580

Browse files
committed
Include goa generated files and remove check-headers.sh
Signed-off-by: Andres Tobon <andrest2455@gmail.com>
1 parent 10206ae commit 3c5f580

File tree

24 files changed

+6621
-78
lines changed

24 files changed

+6621
-78
lines changed

.github/workflows/license-header-check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ jobs:
1515
uses: linuxfoundation/lfx-public-workflows/.github/workflows/license-header-check.yml@main
1616
with:
1717
copyright_line: "Copyright The Linux Foundation and each contributor to LFX."
18+
exclude_pattern: "gen/"

.github/workflows/project-api-build.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,6 @@ jobs:
2121
with:
2222
go-version: stable
2323

24-
- name: Go Version
25-
run: go version
26-
27-
- name: Configure Git to clone private Github repos
28-
run: git config --global url."https://${TOKEN_USER}:${TOKEN}@github.com".insteadOf "https://github.com"
29-
env:
30-
TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
31-
TOKEN_USER: ${{ secrets.PERSONAL_ACCESS_TOKEN_USER }}
32-
3324
- name: Download Dependencies
3425
run: make deps
3526
working-directory: cmd/project-api

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Copyright The Linux Foundation and each contributor to LFX.
22
# SPDX-License-Identifier: MIT
33
bin/
4-
gen/
54
.env*
65

76
# Linter generated files

.gitleaks.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Copyright The Linux Foundation and each contributor to LFX.
2+
# SPDX-License-Identifier: MIT
13

24
title = "gitleaks config"
35

.mega-linter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ DISABLE_ERRORS_LINTERS:
2828
- REPOSITORY_CHECKOV
2929
- REPOSITORY_DEVSKIM
3030
REPOSITORY_KICS_ARGUMENTS: >-
31-
scan --no-progress --exclude-severities "medium,low,info,trace"
31+
scan --no-progress --exclude-severities="medium,low,info,trace" --exclude-paths="./cmd/project-api/gen/*"
3232
SPELL_CSPELL_ANALYZE_FILE_NAMES: false
3333
# Make sure Vale is setup to run with the styles it needs.
3434
SPELL_VALE_PRE_COMMANDS:
3535
- command: mkdir -p styles
3636
cwd: "workspace"
3737
- command: vale sync
3838
cwd: "workspace"
39-
39+
API_SPECTRAL_FILTER_REGEX_EXCLUDE: "gen/"
4040
# Ignore YAML files with templating macros; these typically fail linting and/or
4141
# schema checking.
4242
FILTER_REGEX_EXCLUDE: '(templates/.*\.yml|templates/.*\.yaml)'

check-headers.sh

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)