mirror of
https://github.com/slsa-framework/slsa-verifier.git
synced 2026-02-14 17:49:58 +00:00
Merge branch 'main' into ramonpetgrave64-patch-4
This commit is contained in:
13
.github/workflows/pre-submit.lint.yml
vendored
13
.github/workflows/pre-submit.lint.yml
vendored
@@ -43,7 +43,16 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
- uses: actions/setup-node@v4
|
||||
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
- run: make eslint
|
||||
|
||||
renovate-config-validator:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
||||
with:
|
||||
node-version: 20
|
||||
- run: make renovate-config-validator
|
||||
|
||||
@@ -39,7 +39,8 @@ jobs:
|
||||
- name: checkout-pr
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: gh pr checkout ${{ inputs.pr_number }}
|
||||
PR_NUMBER: ${{ inputs.pr_number }}
|
||||
run: gh pr checkout "$PR_NUMBER"
|
||||
- name: run-command
|
||||
run: |
|
||||
(
|
||||
@@ -75,7 +76,8 @@ jobs:
|
||||
- name: checkout-pr
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: gh pr checkout ${{ inputs.pr_number }}
|
||||
PR_NUMBER: ${{ inputs.pr_number }}
|
||||
run: gh pr checkout "$PR_NUMBER"
|
||||
- name: download-patch
|
||||
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
|
||||
with:
|
||||
|
||||
27
.gitignore
vendored
27
.gitignore
vendored
@@ -1,3 +1,26 @@
|
||||
# Ignore the .git directory (for markdownlint)
|
||||
.git
|
||||
|
||||
# Binaries for programs and plugins
|
||||
*.exe
|
||||
*.exe~
|
||||
*.dll
|
||||
*.so
|
||||
*.dylib
|
||||
|
||||
# Test binary, built with `go test -c`
|
||||
*.test
|
||||
|
||||
# Output of the go coverage tool, specifically when used with LiteIDE
|
||||
*.out
|
||||
|
||||
# Dependency directories (remove the comment below to include it)
|
||||
vendor/
|
||||
node_modules/
|
||||
|
||||
# Go workspace file
|
||||
go.work
|
||||
go.work.sum
|
||||
|
||||
# goland
|
||||
.idea
|
||||
node_modules
|
||||
vendor
|
||||
|
||||
6
Makefile
6
Makefile
@@ -70,7 +70,7 @@ markdown-toc: node_modules/.installed ## Runs markdown-toc on markdown files.
|
||||
#####################################################################
|
||||
|
||||
.PHONY: lint
|
||||
lint: golangci-lint eslint yamllint ## Run all linters.
|
||||
lint: golangci-lint eslint yamllint renovate-config-validator ## Run all linters.
|
||||
|
||||
.PHONY: golangci-lint
|
||||
golangci-lint: ## Runs the golangci-lint linter.
|
||||
@@ -93,3 +93,7 @@ yamllint: ## Runs the yamllint linter.
|
||||
extraargs="-f github"; \
|
||||
fi; \
|
||||
yamllint -c .yamllint.yaml . $$extraargs
|
||||
|
||||
.PHONY: renovate-config-validator
|
||||
renovate-config-validator: node_modules/.installed ## Runs renovate-config-validator
|
||||
@npm run renovate-config-validator
|
||||
|
||||
12663
package-lock.json
generated
12663
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,8 +1,10 @@
|
||||
{
|
||||
"scripts": {
|
||||
"markdown-toc": "markdown-toc --bullets='-' -i"
|
||||
"markdown-toc": "markdown-toc --bullets='-' -i",
|
||||
"renovate-config-validator": "renovate-config-validator --strict"
|
||||
},
|
||||
"devDependencies": {
|
||||
"markdown-toc": "^1.2.0"
|
||||
"markdown-toc": "^1.2.0",
|
||||
"renovate": "37.363.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": ["config:base", ":gitSignOff"],
|
||||
"schedule": ["before 4am on the first day of the month"],
|
||||
"extends": ["config:best-practices", "schedule:monthly"],
|
||||
"vulnerabilityAlerts": {
|
||||
"schedule": "before 4am"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user