37 Commits

Author SHA1 Message Date
Federico Builes
a9f822c0ea Merge pull request #71 from actions/bump-version
Prepare version for a new release
2024-02-19 16:10:08 +01:00
Federico Builes
5223bcc5d4 bumping to 2.0.1 2024-02-19 09:47:06 +01:00
Federico Builes
8d0ce81957 Merge pull request #70 from actions/dependabot/npm_and_yarn/undici-5.28.3
Bump undici from 5.26.3 to 5.28.3
2024-02-18 11:32:00 +01:00
dependabot[bot]
8d6b550076 Bump undici from 5.26.3 to 5.28.3
Bumps [undici](https://github.com/nodejs/undici) from 5.26.3 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.26.3...v5.28.3)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-16 17:56:57 +00:00
Justin Holguín
b796b3ebd8 Merge pull request #68 from actions/juxtin/custom-codeql-config
Use custom config for CodeQL
2024-02-01 16:16:06 -08:00
Justin Holguín
8510578b7e Use custom config for CodeQL 2024-02-01 16:01:04 -08:00
Federico Builes
1db3859355 Updating README. 2024-01-10 19:31:52 +01:00
Federico Builes
9aded48345 Merge pull request #67 from takost/update-version
Update version of the action
2024-01-10 19:24:16 +01:00
Tatyana Kostromskaya
2cf691415a . 2024-01-10 14:06:12 +00:00
Tatyana Kostromskaya
1f44486d0f Rebuild index.js 2024-01-10 14:01:20 +00:00
Tatyana Kostromskaya
48da37c7b0 Update version 2024-01-10 13:51:15 +00:00
Federico Builes
b06941e7bf Merge pull request #66 from takost/update-to-node-20
Update action to node20
2023-12-01 17:47:25 +01:00
Tatyana Kostromskaya
112d372804 Add --forceExit for jest 2023-11-29 15:52:57 +00:00
Tatyana Kostromskaya
5e5b8b9d64 Merge branch 'actions:update-to-node-20' into update-to-node-20 2023-11-29 16:51:33 +01:00
Tatyana Kostromskaya
c610a9900d Update dist 2023-11-29 15:40:25 +00:00
Federico Builes
e7076bab0b adding dist 2023-11-16 18:00:26 +01:00
Tatyana Kostromskaya
d91a3027e6 Update action to node20 2023-11-16 16:13:23 +00:00
Federico Builes
5d45e10560 Merge pull request #65 from gwynne/patch-1
Fix safe harbor policy link
2023-10-18 19:18:28 +02:00
Gwynne Raskind
d2676f9634 Fix safe harbor policy link 2023-10-18 10:37:53 -05:00
Federico Builes
0d0291b693 Merge pull request #64 from actions/dependabot/npm_and_yarn/babel/traverse-7.23.2
Bump @babel/traverse from 7.17.10 to 7.23.2
2023-10-17 06:21:27 +02:00
dependabot[bot]
1f1e6536fd Bump @babel/traverse from 7.17.10 to 7.23.2
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.17.10 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-17 04:03:25 +00:00
Federico Builes
a6640f43bd Merge pull request #63 from actions/dependabot/npm_and_yarn/undici-5.26.3
Bump undici from 5.19.1 to 5.26.3
2023-10-17 06:02:22 +02:00
dependabot[bot]
b423ed5efd Bump undici from 5.19.1 to 5.26.3
Bumps [undici](https://github.com/nodejs/undici) from 5.19.1 to 5.26.3.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.19.1...v5.26.3)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 15:14:06 +00:00
Federico Builes
880440424e Merge pull request #58 from actions/dependabot/npm_and_yarn/word-wrap-1.2.4
Bump word-wrap from 1.2.3 to 1.2.4
2023-07-21 11:59:33 +02:00
dependabot[bot]
4897662a1b Bump word-wrap from 1.2.3 to 1.2.4
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 17:27:34 +00:00
cnagadya
5c34c91057 Merge pull request #54 from actions/cnagadya-patch-1
Correct action repo owner
2023-05-31 11:39:32 +02:00
cnagadya
32d7c023d7 Correct action repo 2023-05-31 11:28:29 +02:00
Justin Holguín
1694cb9629 Merge pull request #47 from actions/juxtin/update-dep-sub-toolkit
Update dependency-submission-toolkit
2023-03-23 08:34:28 -07:00
Justin Holguín
d7966ef64e Update dependency-submission-toolkit 2023-03-22 23:35:52 +00:00
Federico Builes
998688d177 Merge pull request #42 from actions/dependabot/go_modules/go-example/golang.org/x/sys-0.1.0
Bump golang.org/x/sys from 0.0.0-20210630005230-0f9fa26af87c to 0.1.0 in /go-example
2023-02-27 08:06:57 +01:00
dependabot[bot]
cdfd7f9b91 Bump golang.org/x/sys in /go-example
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20210630005230-0f9fa26af87c to 0.1.0.
- [Release notes](https://github.com/golang/sys/releases)
- [Commits](https://github.com/golang/sys/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-25 09:18:50 +00:00
Federico Builes
12ed0c79c3 Merge pull request #39 from actions/dependabot/npm_and_yarn/json5-1.0.2
Bump json5 from 1.0.1 to 1.0.2
2023-02-17 07:46:48 +01:00
dependabot[bot]
fd87e17f94 Bump json5 from 1.0.1 to 1.0.2
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-17 05:46:28 +00:00
Federico Builes
d4b57fec94 Merge pull request #41 from actions/dependabot/npm_and_yarn/undici-5.19.1
Bump undici from 5.9.1 to 5.19.1
2023-02-17 06:25:15 +01:00
dependabot[bot]
78efaf639c Bump undici from 5.9.1 to 5.19.1
Bumps [undici](https://github.com/nodejs/undici) from 5.9.1 to 5.19.1.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.9.1...v5.19.1)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-17 00:09:43 +00:00
Federico Builes
d37c65d5a9 Merge pull request #36 from JamesMGreene/patch-1
Update to latest `actions/publish-action`
2022-11-22 18:02:49 +01:00
James M. Greene
728761be7d Update to latest actions/publish-action
To avoid Actions core deprecation messages.

https://github.com/actions/publish-action/releases/tag/v0.2.1
2022-11-22 10:29:50 -06:00
12 changed files with 2284 additions and 754 deletions

48
.github/workflows/codeql.yml vendored Normal file
View File

@@ -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}}"

View File

@@ -21,6 +21,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Update the ${{ env.TAG_NAME }} tag
uses: actions/publish-action@v0.1.0
uses: actions/publish-action@v0.2.1
with:
source-tag: ${{ env.TAG_NAME }}

View File

@@ -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

View File

@@ -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

View File

@@ -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)

View File

@@ -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'

2293
dist/index.js generated vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@@ -7,5 +7,5 @@ require github.com/fatih/color v1.13.0
require (
github.com/mattn/go-colorable v0.1.9 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c // indirect
golang.org/x/sys v0.1.0 // indirect
)

View File

@@ -7,5 +7,6 @@ github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c h1:F1jZWGFhYfh0Ci55sIpILtKKK8p3i2/krTr0H1rg74I=
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U=
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=

668
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -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",
@@ -43,7 +43,7 @@
"@actions/core": "^1.9.1",
"@actions/exec": "^1.1.1",
"@actions/github": "^5.0.3",
"@github/dependency-submission-toolkit": "^1.2.2",
"@github/dependency-submission-toolkit": "^1.2.10",
"packageurl-js": "^0.0.6"
}
}