Skip to content

Commit 8e4a1d6

Browse files
committed
Merge branch 'main' into henrymercer/avoid-waiting-for-timeout
2 parents 85f0d84 + 4827181 commit 8e4a1d6

File tree

9,014 files changed

+721781
-499764
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

9,014 files changed

+721781
-499764
lines changed

.eslintrc.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616
"rules": {
1717
"filenames/match-regex": ["error", "^[a-z0-9-]+(\\.test)?$"],
1818
"i18n-text/no-en": "off",
19-
"import/extensions": "error",
19+
"import/extensions": ["error", {
20+
// Allow importing JSON files
21+
"json": {}
22+
}],
2023
"import/no-amd": "error",
2124
"import/no-commonjs": "error",
2225
"import/no-dynamic-require": "error",
@@ -55,5 +58,13 @@
5558
"func-style": "off",
5659
"sort-imports": "off"
5760
}
58-
}]
61+
}],
62+
"settings": {
63+
"import/resolver": {
64+
"node": {
65+
"moduleDirectory": ["node_modules", "src"]
66+
},
67+
"typescript": {}
68+
}
69+
}
5970
}

.github/workflows/pr-checks.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -15,39 +15,13 @@ jobs:
1515
runs-on: ubuntu-latest
1616
timeout-minutes: 45
1717

18-
strategy:
19-
matrix:
20-
node-types-version: [12.12, current]
21-
2218
steps:
2319
- name: Checkout
2420
uses: actions/checkout@v3
2521

2622
- name: Lint
2723
run: npm run-script lint
2824

29-
- name: Update version of @types/node
30-
if: matrix.node-types-version != 'current'
31-
env:
32-
NODE_TYPES_VERSION: ${{ matrix.node-types-version }}
33-
run: |
34-
# Export `NODE_TYPES_VERSION` so it's available to jq
35-
export NODE_TYPES_VERSION="${NODE_TYPES_VERSION}"
36-
contents=$(jq '.devDependencies."@types/node" = env.NODE_TYPES_VERSION' package.json)
37-
echo "${contents}" > package.json
38-
# Usually we run `npm install` on macOS to ensure that we pick up macOS-only dependencies.
39-
# However we're not checking in the updated lockfile here, so it's fine to run
40-
# `npm install` on Linux.
41-
npm install
42-
43-
if [ ! -z "$(git status --porcelain)" ]; then
44-
git config --global user.email "github-actions@github.com"
45-
git config --global user.name "github-actions[bot]"
46-
# The period in `git add --all .` ensures that we stage deleted files too.
47-
git add --all .
48-
git commit -m "Use @types/node=${NODE_TYPES_VERSION}"
49-
fi
50-
5125
- name: Check generated JS
5226
run: .github/workflows/script/check-js.sh
5327

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [UNRELEASED]
44

5-
- Improve stability when choosing the default version of CodeQL to use in code scanning workflow runs on Actions on GitHub.com. [#1475](https://github.com/github/codeql-action/pull/1475).
5+
- Improve stability when choosing the default version of CodeQL to use in code scanning workflow runs on Actions on GitHub.com. [#1475](https://github.com/github/codeql-action/pull/1475)
66
- This change addresses customer reports of code scanning alerts on GitHub.com being closed and reopened during the rollout of new versions of CodeQL in the GitHub Actions [runner images](https://github.com/actions/runner-images).
77
- **No change is required for the majority of workflows**, including:
88
- Workflows on GitHub.com hosted runners using the latest version (`v2`) of the CodeQL Action.

lib/actions-util.js

Lines changed: 12 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/actions-util.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/actions-util.test.js

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/actions-util.test.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analysis-paths.js

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analysis-paths.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analysis-paths.test.js

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)