adds explicit gopath#107
Conversation
|
Caution Review failedThe pull request is closed. Summary by CodeRabbit
Summary by CodeRabbit
WalkthroughThe changes update the CI workflow trigger in Changes
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate Unit Tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Bug: Branch Push Triggers Job Skip
The Transport CI workflow is configured to trigger on pushes to the test/gh-actions branch. However, its jobs (update-transport-dependency and build-and-push-docker) contain conditional statements that check for tag-based references (e.g., startsWith(github.ref, 'refs/tags/core/v')). When triggered by a branch push, github.ref is refs/heads/test/gh-actions, causing these conditions to evaluate to false. As a result, all jobs are skipped, rendering the workflow non-functional for its intended purpose of testing on the branch.
.github/workflows/transport-ci.yml#L19-L94
bifrost/.github/workflows/transport-ci.yml
Lines 19 to 94 in 7b439bb
.github/workflows/transport-ci.yml#L3-L9
bifrost/.github/workflows/transport-ci.yml
Lines 3 to 9 in 7b439bb
BugBot free trial expires on July 22, 2025
You have used $0.00 of your $50.00 spend limit so far. Manage your spend limit in the Cursor dashboard.
Was this report helpful? Give feedback by reacting with 👍 or 👎
### TL;DR Updated GitHub Actions workflow to trigger on test branch and set GOPATH in Docker build. ### What changed? - Modified `.github/workflows/transport-ci.yml` to trigger on the `test/gh-actions` branch instead of tags - Commented out the tag triggers for dependency updates and docker builds - Added `ENV GOPATH=/go` to the transports Dockerfile to explicitly set the Go path ### How to test? 1. Push changes to the `test/gh-actions` branch 2. Verify that the Transport CI workflow triggers correctly 3. Confirm that Docker builds complete successfully with the explicit GOPATH set ### Why make this change? The changes allow for testing GitHub Actions workflows on a test branch without requiring tag creation. Setting the GOPATH explicitly in the Dockerfile ensures consistent build environments across different systems and CI platforms.

TL;DR
Updated GitHub Actions workflow to trigger on test branch and set GOPATH in Docker build.
What changed?
.github/workflows/transport-ci.ymlto trigger on thetest/gh-actionsbranch instead of tagsENV GOPATH=/goto the transports Dockerfile to explicitly set the Go pathHow to test?
test/gh-actionsbranchWhy make this change?
The changes allow for testing GitHub Actions workflows on a test branch without requiring tag creation. Setting the GOPATH explicitly in the Dockerfile ensures consistent build environments across different systems and CI platforms.