Skip to content

O3-5519: Fix BOT_GH_TOKEN secret key name in build workflow#153

Merged
NethmiRodrigo merged 1 commit intoopenmrs:mainfrom
kanchana404:fix/O3-5519-add-bot-gh-token-to-build-workflow-secrets
Mar 20, 2026
Merged

O3-5519: Fix BOT_GH_TOKEN secret key name in build workflow#153
NethmiRodrigo merged 1 commit intoopenmrs:mainfrom
kanchana404:fix/O3-5519-add-bot-gh-token-to-build-workflow-secrets

Conversation

@kanchana404
Copy link
Contributor

Description

Ticket Link - https://openmrs.atlassian.net/browse/O3-5519
Ticket ID - O3-5519

Summary

The shared OWASP Dependency Check workflow (openmrs-contrib-gha-workflows) has been updated to automatically push generated vulnerability reports to the central dashboard repository (openmrs-contrib-dependency-vulnerability-dashboard). To support this, the reusable workflow now requires the GH_BOT_TOKEN secret to be passed by calling repositories. Without it, the workflow cannot push reports to the dashboard.

Change

Renamed the secret key from OMRS_BOT_GH_TOKEN to BOT_GH_TOKEN in .github/workflows/build.yml to match the expected key name in the reusable workflow.

Copy link
Contributor

@NethmiRodrigo NethmiRodrigo left a comment

Choose a reason for hiding this comment

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

Thanks @kanchana404!

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 26.73%. Comparing base (d94591c) to head (c783a9e).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #153   +/-   ##
=========================================
  Coverage     26.73%   26.73%           
  Complexity      487      487           
=========================================
  Files           190      190           
  Lines          4309     4309           
  Branches        486      486           
=========================================
  Hits           1152     1152           
  Misses         3056     3056           
  Partials        101      101           

☔ 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.

@NethmiRodrigo NethmiRodrigo merged commit 1778231 into openmrs:main Mar 20, 2026
6 of 7 checks passed
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.

3 participants