Skip to content

feat: Add SAST workflows and remove workflow vulnerabilities - #2366

Merged
muhammad-ali-pk merged 7 commits into
mainfrom
sec-workflow-vulns
Mar 20, 2026
Merged

feat: Add SAST workflows and remove workflow vulnerabilities#2366
muhammad-ali-pk merged 7 commits into
mainfrom
sec-workflow-vulns

Conversation

@muhammad-ali-pk

@muhammad-ali-pk muhammad-ali-pk commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

Done

  • Audited and improved relevant workflows to reduce workflow exploitation vulnerabilities
  • Added static github actions analysis (zizmor)
  • Add python code analysis (bandit)

QA

  • Verify the workflows run and succeed as expected

Issue / Card

Fixes WD-35004

@webteam-app

Copy link
Copy Markdown

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

Comment thread .github/workflows/bandit.yaml Fixed
Comment thread .github/workflows/percy-fork-pr.yaml Fixed
Comment thread .github/workflows/zizmor-static-analysis.yaml Fixed
@codecov

codecov Bot commented Mar 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.64%. Comparing base (b002b2a) to head (d3e66ed).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2366   +/-   ##
=======================================
  Coverage   78.64%   78.64%           
=======================================
  Files          16       16           
  Lines        1836     1836           
=======================================
  Hits         1444     1444           
  Misses        392      392           
Flag Coverage Δ
python 78.64% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread .github/workflows/bandit.yaml Outdated
Comment thread .github/workflows/zizmor-static-analysis.yaml
Comment thread .github/workflows/bandit.yaml Fixed
@muhammad-ali-pk

Copy link
Copy Markdown
Contributor Author

@britneywwc Thanks for the review, I've addressed your comments. Please have another look.

@britneywwc britneywwc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks, looks good! 🚀

Comment thread .github/workflows/bandit.yaml Dismissed
@muhammad-ali-pk
muhammad-ali-pk merged commit 3721462 into main Mar 20, 2026
18 checks passed
@muhammad-ali-pk
muhammad-ali-pk deleted the sec-workflow-vulns branch March 20, 2026 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants