1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Fix workflow to sync CodeQL CLI (#55425)

This commit is contained in:
Nick Rolfe
2025-04-28 16:27:41 +01:00
committed by GitHub
parent 023b1cf457
commit 338655ca8a
2 changed files with 3 additions and 2 deletions

View File

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

View File

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