Skip to content

Fix command syntax for backend vulnerability scan#27

Merged
Mujhtech merged 1 commit into
mainfrom
chore/update-dagryn-workflow-govuln
Apr 22, 2026
Merged

Fix command syntax for backend vulnerability scan#27
Mujhtech merged 1 commit into
mainfrom
chore/update-dagryn-workflow-govuln

Conversation

@Mujhtech

Copy link
Copy Markdown
Owner

Description

[Provide a brief description of the changes in this pull request]

Related Issue

[If applicable, link to the issue this PR addresses]

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Code refactor
  • Other (please specify)

Checklist

  • I have read the contribution guidelines
  • My code follows the project's coding style
  • I have tested my changes
  • I have updated the documentation accordingly

Additional Notes

[Add any additional information or context about the PR here]

Copilot AI review requested due to automatic review settings April 22, 2026 10:46
@dagryn-dev

dagryn-dev Bot commented Apr 22, 2026

Copy link
Copy Markdown

🟡 Dagryn workflow RUNNING

  • PR: Fix command syntax for backend vulnerability scan
  • Commit: Fix command syntax for backend vulnerability scan
  • Branch: chore/update-dagryn-workflow-govuln
  • SHA: f69d217

View run in Dagryn

@Mujhtech
Mujhtech merged commit f1f1b9c into main Apr 22, 2026
4 of 8 checks passed
@dagryn-dev

dagryn-dev Bot commented Apr 22, 2026

Copy link
Copy Markdown

🟡 Dagryn workflow RUNNING

  • PR: Fix command syntax for backend vulnerability scan
  • Commit: Fix command syntax for backend vulnerability scan
  • Branch: chore/update-dagryn-workflow-govuln
  • SHA: f69d217

View run in Dagryn

@dagryn-dev

dagryn-dev Bot commented Apr 22, 2026

Copy link
Copy Markdown

🟡 Dagryn workflow RUNNING

  • PR: Fix command syntax for backend vulnerability scan
  • Commit: Fix command syntax for backend vulnerability scan
  • Branch: chore/update-dagryn-workflow-govuln
  • SHA: f69d217

View run in Dagryn

@dagryn-dev

dagryn-dev Bot commented Apr 22, 2026

Copy link
Copy Markdown

🟡 Dagryn workflow RUNNING

  • PR: Fix command syntax for backend vulnerability scan
  • Commit: Fix command syntax for backend vulnerability scan
  • Branch: chore/update-dagryn-workflow-govuln
  • SHA: f69d217

View run in Dagryn

@dagryn-dev

dagryn-dev Bot commented Apr 22, 2026

Copy link
Copy Markdown

🟡 Dagryn workflow RUNNING

  • PR: Fix command syntax for backend vulnerability scan
  • Commit: Fix command syntax for backend vulnerability scan
  • Branch: chore/update-dagryn-workflow-govuln
  • SHA: f69d217

View run in Dagryn

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Dagryn task configuration intended to run govulncheck for the backend vulnerability scan.

Changes:

  • Adjusts the backend-vulnerability-scan task command in dagryn.toml.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread dagryn.toml

[tasks.backend-vulnerability-scan]
command = "govulncheck -C ./... -json > gosec-report.json"
command = "govulncheck ./... -json > gosec-report.json"

Copilot AI Apr 22, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This command will likely fail in two ways: (1) it runs from the repo root even though the Go module lives under backend/ (other backend tasks set workdir = "backend", and the GH workflow uses work-dir: ./backend), and (2) -json is placed after ./...—if govulncheck uses standard Go flag parsing, flags after the first non-flag argument are not parsed and -json will be treated as a package pattern. Set workdir = "backend" for this task (or use govulncheck -C backend ...), and place -json before the package pattern.

Suggested change
command = "govulncheck ./... -json > gosec-report.json"
workdir = "backend"
command = "govulncheck -json ./... > gosec-report.json"

Copilot uses AI. Check for mistakes.
@dagryn-dev

dagryn-dev Bot commented Apr 22, 2026

Copy link
Copy Markdown

🟡 Dagryn workflow RUNNING

  • PR: Fix command syntax for backend vulnerability scan
  • Commit: Fix command syntax for backend vulnerability scan
  • Branch: chore/update-dagryn-workflow-govuln
  • SHA: f69d217

View run in Dagryn

@dagryn-dev

dagryn-dev Bot commented Apr 22, 2026

Copy link
Copy Markdown

Dagryn workflow FAILED

View run in Dagryn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants