Skip to content

Enable gotests workflow execution for default branch#136

Merged
joselsegura merged 1 commit into
RedHatInsights:masterfrom
joselsegura:default-branch-exec
May 6, 2026
Merged

Enable gotests workflow execution for default branch#136
joselsegura merged 1 commit into
RedHatInsights:masterfrom
joselsegura:default-branch-exec

Conversation

@joselsegura
Copy link
Copy Markdown
Contributor

Description

Gotests execution is only working on PRs, not in pushes to the default branch.

Type of change

  • Configuration update

Testing steps

Locally tested

@joselsegura joselsegura requested a review from a team as a code owner May 5, 2026 23:11
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 5, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: 988bfc66-2d19-4e97-b41b-4dcb9e60c347

📥 Commits

Reviewing files that changed from the base of the PR and between 09ea1ed and 0f153c8.

📒 Files selected for processing (1)
  • workflows_examples/gotests.yaml

Summary by CodeRabbit

  • Chores
    • Tests now automatically run on pushes to main and master branches, in addition to pull requests.

Walkthrough

Adds a push trigger to the gotests workflow to run on pushes to main and master branches, complementing the existing pull_request trigger.

Changes

Workflow Trigger Update

Layer / File(s) Summary
Workflow Configuration
workflows_examples/gotests.yaml
Adds a push trigger for main and master branches to the gotests workflow, expanding automated test execution beyond pull requests.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Enable gotests workflow execution for default branch' directly and clearly describes the main change: adding workflow execution triggers for the default branch.
Description check ✅ Passed The description explains the problem (gotests only works on PRs), the solution type (configuration update), and testing approach, all directly related to the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@joselsegura joselsegura enabled auto-merge May 6, 2026 06:22
@joselsegura joselsegura merged commit cb24cf7 into RedHatInsights:master May 6, 2026
3 checks passed
@joselsegura joselsegura deleted the default-branch-exec branch May 6, 2026 07:16
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