Skip to content

Add the bin/ directory as a path for the blacken.yml workflow - #147

Open
mcdonnnj wants to merge 1 commit into
developfrom
bug/adjust_blacken_trigger_paths
Open

Add the bin/ directory as a path for the blacken.yml workflow#147
mcdonnnj wants to merge 1 commit into
developfrom
bug/adjust_blacken_trigger_paths

Conversation

@mcdonnnj

Copy link
Copy Markdown
Member

🗣 Description

This pull request adds the contents of the bin/ directory as a path used when triggered by a pull_request event in the blacken.yml workflow.

💭 Motivation and context

While working on #146 I realized that changes to the console scripts in the bin/ directory would not trigger the blacken.yml workflow as currently configured. Changes to these files should trigger the workflow, so I am rectifying that oversight.

🧪 Testing

👀

✅ Pre-approval checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • All relevant type-of-change labels have been added.
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.

The `blacken.yml` workflow should trigger for any Python code changes.
Since the console scripts in the `bin/` directory do not have a ".py"
extension the workflow will need this path to correctly trigger.
@mcdonnnj
mcdonnnj requested a review from Copilot March 25, 2026 04:40
@mcdonnnj mcdonnnj self-assigned this Mar 25, 2026
@mcdonnnj
mcdonnnj requested review from dav3r, felddy and jsf9k as code owners March 25, 2026 04:40
@mcdonnnj mcdonnnj added the bug This issue or pull request addresses broken functionality label Mar 25, 2026
@github-actions github-actions Bot added the github-actions Pull requests that update GitHub Actions code label Mar 25, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request updates the blacken.yml GitHub Actions workflow so that changes to repository console scripts under bin/ will trigger the black formatting workflow on pull_request events.

Changes:

  • Add bin/** to the pull_request.paths filter in .github/workflows/blacken.yml.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug This issue or pull request addresses broken functionality github-actions Pull requests that update GitHub Actions code

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

4 participants