diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..8567cf1 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @actions/virtual-environments-owners \ No newline at end of file diff --git a/.github/workflows/licensed.yml b/.github/workflows/licensed.yml new file mode 100644 index 0000000..ae62613 --- /dev/null +++ b/.github/workflows/licensed.yml @@ -0,0 +1,20 @@ +name: Licensed + +on: + push: {branches: main} + pull_request: {branches: main} + +jobs: + test: + runs-on: ubuntu-latest + name: Check licenses + steps: + - uses: actions/checkout@v2 + - run: npm ci + - name: Install licensed + run: | + cd $RUNNER_TEMP + curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.12.2/licensed-2.12.2-linux-x64.tar.gz + sudo tar -xzf licensed.tar.gz + sudo mv licensed /usr/local/bin/licensed + - run: licensed status \ No newline at end of file diff --git a/.licensed.yml b/.licensed.yml new file mode 100644 index 0000000..4e473ae --- /dev/null +++ b/.licensed.yml @@ -0,0 +1,14 @@ +sources: + npm: true + +allowed: + - apache-2.0 + - bsd-2-clause + - bsd-3-clause + - isc + - mit + - cc0-1.0 + - unlicense + +reviewed: + npm: diff --git a/.licenses/npm/@actions/core.dep.yml b/.licenses/npm/@actions/core.dep.yml new file mode 100644 index 0000000..1bf8fca Binary files /dev/null and b/.licenses/npm/@actions/core.dep.yml differ diff --git a/.licenses/npm/@actions/github.dep.yml b/.licenses/npm/@actions/github.dep.yml new file mode 100644 index 0000000..0569b74 Binary files /dev/null and b/.licenses/npm/@actions/github.dep.yml differ diff --git a/.licenses/npm/@actions/http-client.dep.yml b/.licenses/npm/@actions/http-client.dep.yml new file mode 100644 index 0000000..43316cb Binary files /dev/null and b/.licenses/npm/@actions/http-client.dep.yml differ diff --git a/.licenses/npm/@octokit/auth-token.dep.yml b/.licenses/npm/@octokit/auth-token.dep.yml new file mode 100644 index 0000000..8929687 Binary files /dev/null and b/.licenses/npm/@octokit/auth-token.dep.yml differ diff --git a/.licenses/npm/@octokit/core.dep.yml b/.licenses/npm/@octokit/core.dep.yml new file mode 100644 index 0000000..01c0044 Binary files /dev/null and b/.licenses/npm/@octokit/core.dep.yml differ diff --git a/.licenses/npm/@octokit/endpoint.dep.yml b/.licenses/npm/@octokit/endpoint.dep.yml new file mode 100644 index 0000000..79d1735 Binary files /dev/null and b/.licenses/npm/@octokit/endpoint.dep.yml differ diff --git a/.licenses/npm/@octokit/graphql.dep.yml b/.licenses/npm/@octokit/graphql.dep.yml new file mode 100644 index 0000000..90397fe Binary files /dev/null and b/.licenses/npm/@octokit/graphql.dep.yml differ diff --git a/.licenses/npm/@octokit/openapi-types.dep.yml b/.licenses/npm/@octokit/openapi-types.dep.yml new file mode 100644 index 0000000..0559bd3 Binary files /dev/null and b/.licenses/npm/@octokit/openapi-types.dep.yml differ diff --git a/.licenses/npm/@octokit/plugin-paginate-rest.dep.yml b/.licenses/npm/@octokit/plugin-paginate-rest.dep.yml new file mode 100644 index 0000000..fee0863 Binary files /dev/null and b/.licenses/npm/@octokit/plugin-paginate-rest.dep.yml differ diff --git a/.licenses/npm/@octokit/plugin-rest-endpoint-methods.dep.yml b/.licenses/npm/@octokit/plugin-rest-endpoint-methods.dep.yml new file mode 100644 index 0000000..c67bdd1 Binary files /dev/null and b/.licenses/npm/@octokit/plugin-rest-endpoint-methods.dep.yml differ diff --git a/.licenses/npm/@octokit/request-error.dep.yml b/.licenses/npm/@octokit/request-error.dep.yml new file mode 100644 index 0000000..ae06b22 Binary files /dev/null and b/.licenses/npm/@octokit/request-error.dep.yml differ diff --git a/.licenses/npm/@octokit/request.dep.yml b/.licenses/npm/@octokit/request.dep.yml new file mode 100644 index 0000000..39b1708 Binary files /dev/null and b/.licenses/npm/@octokit/request.dep.yml differ diff --git a/.licenses/npm/@octokit/types.dep.yml b/.licenses/npm/@octokit/types.dep.yml new file mode 100644 index 0000000..970b025 Binary files /dev/null and b/.licenses/npm/@octokit/types.dep.yml differ diff --git a/.licenses/npm/before-after-hook.dep.yml b/.licenses/npm/before-after-hook.dep.yml new file mode 100644 index 0000000..a51d0fb Binary files /dev/null and b/.licenses/npm/before-after-hook.dep.yml differ diff --git a/.licenses/npm/deprecation.dep.yml b/.licenses/npm/deprecation.dep.yml new file mode 100644 index 0000000..12fd7ce Binary files /dev/null and b/.licenses/npm/deprecation.dep.yml differ diff --git a/.licenses/npm/is-plain-object.dep.yml b/.licenses/npm/is-plain-object.dep.yml new file mode 100644 index 0000000..671ba20 Binary files /dev/null and b/.licenses/npm/is-plain-object.dep.yml differ diff --git a/.licenses/npm/lru-cache.dep.yml b/.licenses/npm/lru-cache.dep.yml new file mode 100644 index 0000000..920e7dc Binary files /dev/null and b/.licenses/npm/lru-cache.dep.yml differ diff --git a/.licenses/npm/node-fetch.dep.yml b/.licenses/npm/node-fetch.dep.yml new file mode 100644 index 0000000..0139d5f Binary files /dev/null and b/.licenses/npm/node-fetch.dep.yml differ diff --git a/.licenses/npm/once.dep.yml b/.licenses/npm/once.dep.yml new file mode 100644 index 0000000..7cf525a Binary files /dev/null and b/.licenses/npm/once.dep.yml differ diff --git a/.licenses/npm/semver.dep.yml b/.licenses/npm/semver.dep.yml new file mode 100644 index 0000000..7f6ad5a Binary files /dev/null and b/.licenses/npm/semver.dep.yml differ diff --git a/.licenses/npm/tunnel.dep.yml b/.licenses/npm/tunnel.dep.yml new file mode 100644 index 0000000..9a7111d Binary files /dev/null and b/.licenses/npm/tunnel.dep.yml differ diff --git a/.licenses/npm/universal-user-agent.dep.yml b/.licenses/npm/universal-user-agent.dep.yml new file mode 100644 index 0000000..e7adef4 Binary files /dev/null and b/.licenses/npm/universal-user-agent.dep.yml differ diff --git a/.licenses/npm/wrappy.dep.yml b/.licenses/npm/wrappy.dep.yml new file mode 100644 index 0000000..2a532ec Binary files /dev/null and b/.licenses/npm/wrappy.dep.yml differ diff --git a/.licenses/npm/yallist.dep.yml b/.licenses/npm/yallist.dep.yml new file mode 100644 index 0000000..1e1c46f Binary files /dev/null and b/.licenses/npm/yallist.dep.yml differ diff --git a/package-lock.json b/package-lock.json index ec7e015..42fc764 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3263,7 +3263,6 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, "requires": { "yallist": "^4.0.0" } @@ -4175,7 +4174,6 @@ "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", - "dev": true, "requires": { "lru-cache": "^6.0.0" } @@ -5050,8 +5048,7 @@ "yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "yargs": { "version": "15.4.1", diff --git a/package.json b/package.json index df4ec1c..52fbdc3 100644 --- a/package.json +++ b/package.json @@ -23,16 +23,16 @@ "homepage": "https://github.com/actions/publish-action#readme", "dependencies": { "@actions/core": "^1.2.7", - "@actions/github": "^4.0.0" + "@actions/http-client": "^1.0.11", + "@actions/github": "^4.0.0", + "semver": "^7.3.5" }, "devDependencies": { - "@actions/http-client": "^1.0.11", "@types/jest": "^26.0.23", "@types/semver": "^7.3.6", "@vercel/ncc": "^0.28.5", "jest": "^26.6.3", "jest-circus": "^26.6.3", - "semver": "^7.3.5", "ts-jest": "^26.5.6", "typescript": "^4.2.4" }