Skip to content
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

proposal: add configuration option to ignore paths when checking for changes #1121

Open
3 tasks done
rafalkrupinski opened this issue Feb 26, 2025 · 0 comments
Open
3 tasks done
Assignees
Labels

Comments

@rafalkrupinski
Copy link

Checklist

  • I am using the latest version of this action.
  • I have read the latest README and followed the instructions.
  • I have read the latest GitHub Actions official documentation and learned the basic spec and concepts.

Describe your proposal

I'm using sphinx to generate docs pages and every time it runs it generates sitemap.xml.gz with timestamps inside, which makes the file different each time, and in turn I get a fresh commit even if that's the only change.

Please add an option to ignore paths from diff so such changes could be skipped from being committed to git.

Describe the solution you'd like

Add new config option such as

with:
  ignore_for_diff:
  - path1
  - path2

if no other file is changed than one listed under this key, no difference is detected and no new commit is made (unless allow_empty_commit is enabled)

Describe alternatives you've considered

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants