Skip to content

Commit d69092d

Browse files
Rename codeql-analysis.yml to codeql.yml to fix stale code scanning configuration
The code scanning configuration still references .github/workflows/codeql.yml, but the file was previously renamed to codeql-analysis.yml. Restoring the original filename resolves the 'Actions workflow file not found' error. Also updates CODE_SCANNING_SETUP.md to reflect the filename change and removes the outdated section about the rename workaround. Agent-Logs-Url: https://github.com/trimble-oss/modus-mobile-maui-components/sessions/5fe8a1aa-a4af-4b07-8504-a6f19ae83298 Co-authored-by: jeff-at-trimble <215895768+jeff-at-trimble@users.noreply.github.com>
1 parent d9cff8e commit d69092d

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

CODE_SCANNING_SETUP.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This document explains the CodeQL code scanning configuration for this repositor
44

55
## Current Configuration
66

7-
This repository uses a **custom CodeQL workflow** (`.github/workflows/codeql-analysis.yml`) that provides thorough analysis with the `security-and-quality` query suite.
7+
This repository uses a **custom CodeQL workflow** (`.github/workflows/codeql.yml`) that provides thorough analysis with the `security-and-quality` query suite.
88

99
### Workflow Details
1010

@@ -13,12 +13,6 @@ This repository uses a **custom CodeQL workflow** (`.github/workflows/codeql-ana
1313
- **Build target**: `net9.0-android` (compatible with Ubuntu runners)
1414
- **Query suite**: `security-and-quality` (more thorough than default)
1515

16-
## Previous Issue: Stale Configuration
17-
18-
The original workflow file (`codeql.yml`) was **manually disabled** in GitHub Actions UI. A manually disabled workflow cannot be re-enabled through code changes alone — modifying the file content has no effect on the disabled state. This caused the code scanning status page to show a stale configuration error.
19-
20-
The fix was to rename the workflow file from `codeql.yml` to `codeql-analysis.yml`. GitHub Actions identifies workflows by their file path, so the renamed file is treated as a new (active) workflow.
21-
2216
## Managing Duplicate Scanning Configurations
2317

2418
If both the custom workflow and GitHub's **Default Setup** are active, you may see duplicate scan results. To avoid this:

0 commit comments

Comments
 (0)