Skip to content

Improve channel validation - #2

Merged
thevops merged 5 commits into
mainfrom
fix/channel-type-validation
Oct 30, 2025
Merged

thevops merged 5 commits into
mainfrom
fix/channel-type-validation

Conversation

@thevops

@thevops thevops commented Oct 30, 2025

Copy link
Copy Markdown
Member

No description provided.

@thevops thevops self-assigned this Oct 30, 2025
Copilot AI review requested due to automatic review settings October 30, 2025 10:21
@github-actions

github-actions Bot commented Oct 30, 2025 •

Copy link
Copy Markdown

Auto Tag: after merging this PR, the new tag will be: v1.1.0

Details

Job: https://github.com/boar-network/discord-bot/actions/runs/18937510197

Use in commit message to bump:

  • #patch - v0.0.X -> v0.0.(X+1)
  • #minor (default) - v0.X.0 -> v0.(X+1).0
  • #major - vX.0.0 -> v(X+1).0.0

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 refactors the CI/CD workflow structure and adds a defensive null check to thread lifecycle processing. The Docker workflow has been reorganized into a reusable workflow pattern with automatic versioning.

  • Converted monolithic Docker workflow into a modular CI workflow with separate auto-tagging and Docker build jobs
  • Added null safety check for channel filtering in thread-lifecycle.js
  • Implemented reusable workflow pattern with proper input/output handling

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
cron/thread-lifecycle.js Added null check to prevent errors when filtering channels
.github/workflows/docker.yml Removed standalone Docker workflow (replaced by new modular approach)
.github/workflows/ci.yaml Created main CI orchestrator workflow that coordinates auto-tagging and Docker builds
.github/workflows/_docker.yaml Created reusable Docker workflow with version input parameter
.github/workflows/_auto-tag.yaml Created reusable auto-tagging workflow with output for version tracking

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

Comment thread .github/workflows/_docker.yaml Outdated
Comment thread .github/workflows/_docker.yaml
Comment thread .github/workflows/_auto-tag.yaml
@thevops
thevops requested a review from tscrond October 30, 2025 10:26
@thevops
thevops merged commit 1a3ea05 into main Oct 30, 2025
2 checks passed
@thevops
thevops deleted the fix/channel-type-validation branch October 30, 2025 10:35
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