Compare commits
27 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a9f822c0ea | |||
| 5223bcc5d4 | |||
| 8d0ce81957 | |||
| 8d6b550076 | |||
| b796b3ebd8 | |||
| 8510578b7e | |||
| 1db3859355 | |||
| 9aded48345 | |||
| 2cf691415a | |||
| 1f44486d0f | |||
| 48da37c7b0 | |||
| b06941e7bf | |||
| 112d372804 | |||
| 5e5b8b9d64 | |||
| c610a9900d | |||
| e7076bab0b | |||
| d91a3027e6 | |||
| 5d45e10560 | |||
| d2676f9634 | |||
| 0d0291b693 | |||
| 1f1e6536fd | |||
| a6640f43bd | |||
| b423ed5efd | |||
| 880440424e | |||
| 4897662a1b | |||
| 5c34c91057 | |||
| 32d7c023d7 |
@@ -0,0 +1,48 @@
|
||||
name: "CodeQL"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
schedule:
|
||||
- cron: '21 0 * * 4'
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: 'ubuntu-latest'
|
||||
timeout-minutes: 360
|
||||
permissions:
|
||||
# required for all workflows
|
||||
security-events: write
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: [ 'javascript-typescript' ]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v3
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||
# By default, queries listed here will override any specified in a config file.
|
||||
# Prefix the list here with "+" to use these queries and those in the config file.
|
||||
|
||||
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
||||
# queries: security-extended,security-and-quality
|
||||
config: |
|
||||
paths-ignore:
|
||||
- dist/index.js
|
||||
- dist/sourcemap-register.js
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v3
|
||||
with:
|
||||
category: "/language:${{matrix.language}}"
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
- name: Install Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
|
||||
- name: Install NPM dependencies
|
||||
run: npm ci --ignore-scripts
|
||||
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
go-version: ">=1.18.0"
|
||||
|
||||
- name: Run snapshot action
|
||||
uses: actions/go-dependency-submission@v1
|
||||
uses: actions/go-dependency-submission@v2
|
||||
with:
|
||||
# Required: Define the repo path to the go.mod file used by the
|
||||
# build target
|
||||
|
||||
+1
-1
@@ -28,4 +28,4 @@ This information will help us triage your report more quickly.
|
||||
|
||||
## Policy
|
||||
|
||||
See [GitHub's Safe Harbor Policy](https://docs.github.com/en/github/site-policy/github-bug-bounty-program-legal-safe-harbor#1-safe-harbor-terms)
|
||||
See [GitHub's Safe Harbor Policy](https://docs.github.com/en/site-policy/security-policies/github-bug-bounty-program-legal-safe-harbor#1-safe-harbor-terms)
|
||||
|
||||
+1
-1
@@ -18,5 +18,5 @@ inputs:
|
||||
description: 'Build target to detect build dependencies. If unspecified, will use "all", with will detect all dependencies used in all build targets (including tests and tools).'
|
||||
default: 'all'
|
||||
runs:
|
||||
using: 'node16'
|
||||
using: 'node20'
|
||||
main: 'dist/index.js'
|
||||
|
||||
Generated
+386
-234
File diff suppressed because it is too large
Load Diff
+5
-5
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "go-dependency-submission",
|
||||
"version": "1.0.0",
|
||||
"version": "2.0.1",
|
||||
"description": "Go Dependency Submission",
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
@@ -9,21 +9,21 @@
|
||||
"format-check": "prettier --check '**/*.ts'",
|
||||
"lint": "eslint --fix src/**/*.ts",
|
||||
"package": "ncc build --source-map --license licenses.txt",
|
||||
"test": "jest",
|
||||
"test": "jest --testTimeout=10000",
|
||||
"test:watch": "jest --watch src",
|
||||
"all": "npm run build && npm run format && npm run lint && npm run package && npm test"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/dsp-testing/go-dependency-submission.git"
|
||||
"url": "git+https://github.com/actions/go-dependency-submission.git"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"bugs": {
|
||||
"url": "https://github.com/dsp-testing/go-dependency-submission/issues"
|
||||
"url": "https://github.com/actions/go-dependency-submission/issues"
|
||||
},
|
||||
"homepage": "https://github.com/dsp-testing/go-dependency-submission#readme",
|
||||
"homepage": "https://github.com/actions/go-dependency-submission#readme",
|
||||
"devDependencies": {
|
||||
"@types/jest": "^27.5.2",
|
||||
"@typescript-eslint/eslint-plugin": "^5.20.0",
|
||||
|
||||
Reference in New Issue
Block a user