Fix workflow to sync CodeQL CLI (#55425)
This commit is contained in:
4
.github/workflows/sync-codeql-cli.yml
vendored
4
.github/workflows/sync-codeql-cli.yml
vendored
@@ -67,7 +67,7 @@ jobs:
|
||||
|
||||
- name: Sync the CodeQL CLI data
|
||||
run: |
|
||||
src/codeql-cli/scripts/sync.js
|
||||
npm run sync-codeql-cli
|
||||
git status
|
||||
echo "Deleting the cloned github/semmle-code repo..."
|
||||
rm -rf semmle-code
|
||||
@@ -81,7 +81,7 @@ jobs:
|
||||
changes=$(git diff --name-only | wc -l)
|
||||
untracked=$(git status --untracked-files --short | wc -l)
|
||||
if [[ $changes -eq 0 ]] && [[ $untracked -eq 0 ]]; then
|
||||
echo "There are no changes to commit after running src/codeql/scripts/sync.js. Exiting..."
|
||||
echo "There are no changes to commit after running 'npm run sync-codeql-cli'. Exiting..."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
@@ -86,6 +86,7 @@
|
||||
"start-for-playwright": "cross-env ROOT=src/fixtures/fixtures TRANSLATIONS_FIXTURE_ROOT=src/fixtures/fixtures/translations ENABLED_LANGUAGES=en,ja NODE_ENV=test tsx src/frame/server.ts",
|
||||
"symlink-from-local-repo": "tsx src/early-access/scripts/symlink-from-local-repo.js",
|
||||
"sync-audit-log": "tsx src/audit-logs/scripts/sync.ts",
|
||||
"sync-codeql-cli": "tsx src/codeql-cli/scripts/sync.js",
|
||||
"sync-graphql": "tsx src/graphql/scripts/sync.js",
|
||||
"sync-rest": "tsx src/rest/scripts/update-files.ts",
|
||||
"sync-secret-scanning": "tsx src/secret-scanning/scripts/sync.ts",
|
||||
|
||||
Reference in New Issue
Block a user