Skip to content

Commit ca534c0

Browse files
committed
ci: drop dependabot-commit-dist workflow handoff
Avoid Code Scanning alert for newly added workflow. To be revisited in future work. Removes the workflow_run-based handoff that rebuilt and pushed 'server/dist/**' back to Dependabot PR branches, along with the upload-artifact step and Dependabot-specific dirty-tree guard in 'build-server.yml' that fed it. - Delete '.github/workflows/dependabot-commit-dist.yml' - Remove 'server-dist' upload-artifact step from build-server.yml - Drop 'if: github.actor != dependabot[bot]' on the dirty-tree check so it now fails loudly for all PRs, including Dependabot
1 parent 34d88c3 commit ca534c0

File tree

2 files changed

+0
-147
lines changed

2 files changed

+0
-147
lines changed

.github/workflows/build-server.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,21 +54,7 @@ jobs:
5454
- name: Build Server - Bundle application
5555
run: npm run bundle
5656

57-
## Consumed by dependabot-commit-dist.yml via workflow_run.
58-
- name: Build Server - Upload server/dist artifact
59-
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
60-
with:
61-
name: server-dist
62-
path: |
63-
server/dist/codeql-development-mcp-server.js
64-
server/dist/codeql-development-mcp-server.js.map
65-
if-no-files-found: error
66-
retention-days: 7
67-
68-
## Skipped for Dependabot PRs: dependabot-commit-dist.yml will push the
69-
## rebuilt 'server/dist' back to the PR branch.
7057
- name: Build Server - Check for uncommitted changes
71-
if: github.actor != 'dependabot[bot]'
7258
run: |
7359
if [ -n "$(git status --porcelain)" ]; then
7460
echo "❌ Uncommitted changes detected after build:"

.github/workflows/dependabot-commit-dist.yml

Lines changed: 0 additions & 133 deletions
This file was deleted.

0 commit comments

Comments
 (0)