Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

Fix security scanning workflow failures on scheduled runs#3

Closed
Copilot wants to merge 2 commits intomainfrom
copilot/fix-issue
Closed

Fix security scanning workflow failures on scheduled runs#3
Copilot wants to merge 2 commits intomainfrom
copilot/fix-issue

Conversation

Copy link

Copilot AI commented Nov 10, 2025

The security scanning workflow was failing on scheduled runs and direct pushes to main because TruffleHog's base/head parameters resolved to the same commit, and CodeQL attempted to analyze non-existent JavaScript/Python source files in this documentation-only repository.

Changes

  • TruffleHog: Removed base and head parameters to scan entire repository on all events
  • CodeQL: Removed JavaScript/Python analysis jobs (no source code to scan)
  • README: Updated to reflect current scanning capabilities
# Before: Failed when base == head
- name: TruffleHog OSS
  uses: trufflesecurity/trufflehog@main
  with:
    path: ./
    base: ${{ github.event.repository.default_branch }}
    head: HEAD

# After: Scans full repo on all events
- name: TruffleHog OSS
  uses: trufflesecurity/trufflehog@main
  with:
    path: ./
    extra_args: --only-verified

Workflow now runs: secret scanning (all events) + dependency review (PRs only).

Original prompt

help fix this issue


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

- Remove base/head parameters from TruffleHog that caused failures on scheduled runs
- Remove CodeQL analysis for JavaScript/Python as this is a documentation-only repo
- Remove --debug flag from TruffleHog
- Update README to reflect removed CodeQL scanning

Co-authored-by: firascoding <167943364+firascoding@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix unresolved issue in codebase Fix security scanning workflow failures on scheduled runs Nov 10, 2025
Copilot AI requested a review from firascoding November 10, 2025 11:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants