Skip to content

Conversation

@NDB-7
Copy link

@NDB-7 NDB-7 commented Jan 11, 2026

For issue #10

Steps to test

  1. Add a docker_ignore section in config.yml with glob patterns. My example:
repos:
  - name: sce-cicd
    branch: omit-docker
    path: /Users/nathan/Desktop/Programming/SCE/sce-cicd
    docker_ignore:
      - "*.md"
      - "*.json"
  1. Run python server.py
  2. Make a commit, only modifying files matched by patterns under docker_ignore, and push it.

Logs

Modifying server.py (not in docker_ignore)

In this case, the Docker step will not be omitted.
Command line output:

Discord embed output:

Modifying README.md and nested/test.md (matched by *.md in docker_ignore)

In this case, the Docker step will be omitted.
Command line output:

Discord embed output:

server.py Outdated
import os
import subprocess
import threading
from fnmatch import fnmatch
Copy link
Contributor

Choose a reason for hiding this comment

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

for these redundant modules in python

can we import it as import fnmatch, then in the code do fnmatch.fnmatch(...)

Choose a reason for hiding this comment

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

me and @evanugarte fnmatch ✌️

Copy link
Author

Choose a reason for hiding this comment

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

Fixed 👍

Copy link

@wesleywong-bear wesleywong-bear left a comment

Choose a reason for hiding this comment

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

could u also post test logs of .md is modified and a tracked file is modified. ty

@NDB-7
Copy link
Author

NDB-7 commented Jan 12, 2026

could u also post test logs of .md is modified and a tracked file is modified. ty

This time, I modified both README.md and server.py—Docker step is not skipped in this case
Command line output:

Discord embed output:

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