Skip to content

Add files whitelist to change detection #441

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 5, 2025
Merged

Conversation

jhamon
Copy link
Collaborator

@jhamon jhamon commented May 2, 2025

Problem

We only want to trigger post-merge actions on some files

Solution

Implement a DIFF_WHITELIST env variable that is used to limit the output from git diff

These git commands are using the feature that allows paths to be specified as positional arguments after --

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Infrastructure change (CI configs, etc)
  • Non-code change (docs, etc)
  • None of the above: (explain here)

@jhamon jhamon requested a review from arjunpatel7 May 2, 2025 19:33
@jhamon jhamon merged commit ed1d46e into master May 5, 2025
9 checks passed
@jhamon jhamon deleted the jhamon/files-whitelist branch May 5, 2025 14:18
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.

1 participant