Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2106eb4457 | ||
|
|
4afe0ab671 | ||
|
|
5768dd7d22 | ||
|
|
648f9c1aaf |
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -66,7 +66,7 @@ jobs:
|
|||||||
yarn install
|
yarn install
|
||||||
|
|
||||||
- name: Run eslint on changed files
|
- name: Run eslint on changed files
|
||||||
uses: tj-actions/eslint-changed-files@v19
|
uses: tj-actions/eslint-changed-files@v20
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.PAT_TOKEN }}
|
token: ${{ secrets.PAT_TOKEN }}
|
||||||
|
|||||||
12
HISTORY.md
12
HISTORY.md
@@ -1,5 +1,17 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
# [37.0.1](https://github.com/tj-actions/changed-files/compare/v37.0.0...v37.0.1) - (2023-06-24)
|
||||||
|
|
||||||
|
## <!-- 1 -->🐛 Bug Fixes
|
||||||
|
|
||||||
|
- Error using current path to determine the .git dir location ([#1299](https://github.com/tj-actions/changed-files/issues/1299)) ([e5efec4](https://github.com/tj-actions/changed-files/commit/e5efec47f620e0fde64a1ad8f53bbf53d51a8c97)) - (Tonye Jack)
|
||||||
|
|
||||||
|
## <!-- 9 -->⬆️ Upgrades
|
||||||
|
|
||||||
|
- Upgraded to v37 ([#1298](https://github.com/tj-actions/changed-files/issues/1298))
|
||||||
|
|
||||||
|
Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([d6d7cb2](https://github.com/tj-actions/changed-files/commit/d6d7cb291e28bba32464fbbf0d13c7f6c2c75de1)) - (tj-actions[bot])
|
||||||
|
|
||||||
# [37.0.0](https://github.com/tj-actions/changed-files/compare/v36.4.1...v37.0.0) - (2023-06-23)
|
# [37.0.0](https://github.com/tj-actions/changed-files/compare/v36.4.1...v37.0.0) - (2023-06-23)
|
||||||
|
|
||||||
## <!-- 0 -->🚀 Features
|
## <!-- 0 -->🚀 Features
|
||||||
|
|||||||
3
dist/index.js
generated
vendored
3
dist/index.js
generated
vendored
@@ -1821,12 +1821,13 @@ const isRepoShallow = ({ cwd }) => __awaiter(void 0, void 0, void 0, function* (
|
|||||||
});
|
});
|
||||||
exports.isRepoShallow = isRepoShallow;
|
exports.isRepoShallow = isRepoShallow;
|
||||||
const submoduleExists = ({ cwd }) => __awaiter(void 0, void 0, void 0, function* () {
|
const submoduleExists = ({ cwd }) => __awaiter(void 0, void 0, void 0, function* () {
|
||||||
const { stdout, exitCode } = yield exec.getExecOutput('git', ['submodule', 'status'], {
|
const { stdout, exitCode, stderr } = yield exec.getExecOutput('git', ['submodule', 'status'], {
|
||||||
cwd,
|
cwd,
|
||||||
ignoreReturnCode: true,
|
ignoreReturnCode: true,
|
||||||
silent: !core.isDebug()
|
silent: !core.isDebug()
|
||||||
});
|
});
|
||||||
if (exitCode !== 0) {
|
if (exitCode !== 0) {
|
||||||
|
core.warning(stderr || "Couldn't list submodules");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return stdout.trim() !== '';
|
return stdout.trim() !== '';
|
||||||
|
|||||||
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
@@ -44,7 +44,7 @@
|
|||||||
"@types/jest": "29.5.2",
|
"@types/jest": "29.5.2",
|
||||||
"@types/lodash": "^4.14.195",
|
"@types/lodash": "^4.14.195",
|
||||||
"@types/micromatch": "^4.0.2",
|
"@types/micromatch": "^4.0.2",
|
||||||
"@types/node": "20.2.1",
|
"@types/node": "20.3.1",
|
||||||
"@types/uuid": "9.0.2",
|
"@types/uuid": "9.0.2",
|
||||||
"@typescript-eslint/eslint-plugin": "5.60.0",
|
"@typescript-eslint/eslint-plugin": "5.60.0",
|
||||||
"@typescript-eslint/parser": "5.60.0",
|
"@typescript-eslint/parser": "5.60.0",
|
||||||
|
|||||||
@@ -209,7 +209,7 @@ export const submoduleExists = async ({
|
|||||||
}: {
|
}: {
|
||||||
cwd: string
|
cwd: string
|
||||||
}): Promise<boolean> => {
|
}): Promise<boolean> => {
|
||||||
const {stdout, exitCode} = await exec.getExecOutput(
|
const {stdout, exitCode, stderr} = await exec.getExecOutput(
|
||||||
'git',
|
'git',
|
||||||
['submodule', 'status'],
|
['submodule', 'status'],
|
||||||
{
|
{
|
||||||
@@ -220,6 +220,7 @@ export const submoduleExists = async ({
|
|||||||
)
|
)
|
||||||
|
|
||||||
if (exitCode !== 0) {
|
if (exitCode !== 0) {
|
||||||
|
core.warning(stderr || "Couldn't list submodules")
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -975,16 +975,11 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@types/braces" "*"
|
"@types/braces" "*"
|
||||||
|
|
||||||
"@types/node@*":
|
"@types/node@*", "@types/node@20.3.1":
|
||||||
version "20.3.1"
|
version "20.3.1"
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.3.1.tgz#e8a83f1aa8b649377bb1fb5d7bac5cb90e784dfe"
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.3.1.tgz#e8a83f1aa8b649377bb1fb5d7bac5cb90e784dfe"
|
||||||
integrity sha512-EhcH/wvidPy1WeML3TtYFGR83UzjxeWRen9V402T8aUGYsCHOmfoisV3ZSg03gAFIbLq8TnWOJ0f4cALtnSEUg==
|
integrity sha512-EhcH/wvidPy1WeML3TtYFGR83UzjxeWRen9V402T8aUGYsCHOmfoisV3ZSg03gAFIbLq8TnWOJ0f4cALtnSEUg==
|
||||||
|
|
||||||
"@types/node@20.2.1":
|
|
||||||
version "20.2.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.2.1.tgz#de559d4b33be9a808fd43372ccee822c70f39704"
|
|
||||||
integrity sha512-DqJociPbZP1lbZ5SQPk4oag6W7AyaGMO6gSfRwq3PWl4PXTwJpRQJhDq4W0kzrg3w6tJ1SwlvGZ5uKFHY13LIg==
|
|
||||||
|
|
||||||
"@types/prettier@^2.1.5":
|
"@types/prettier@^2.1.5":
|
||||||
version "2.7.3"
|
version "2.7.3"
|
||||||
resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.3.tgz#3e51a17e291d01d17d3fc61422015a933af7a08f"
|
resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.3.tgz#3e51a17e291d01d17d3fc61422015a933af7a08f"
|
||||||
|
|||||||
Reference in New Issue
Block a user