Skip to content

Add relative gitignores for site specific files in workflow#1927

Merged
JorgeBornemann merged 1 commit intomainfrom
1924_gitignore_workflow_opt_but_not_app_opt
Feb 24, 2026
Merged

Add relative gitignores for site specific files in workflow#1927
JorgeBornemann merged 1 commit intomainfrom
1924_gitignore_workflow_opt_but_not_app_opt

Conversation

@jfrost-mo
Copy link
Member

@jfrost-mo jfrost-mo commented Feb 24, 2026

The previous attempt in c04f769 allows the app opt files to be included, but now doesn't exclude the top level workflow opt. To avoid this while still allowing app opt files, we now use an exclude pattern relative to the .gitignore file.

Fixes #1921 (but better.)
Follow up to #1924.

Contribution checklist

Aim to have all relevant checks ticked off before merging. See the developer's guide for more detail.

  • Documentation has been updated to reflect change.
  • New code has tests, and affected old tests have been updated.
  • All tests and CI checks pass.
  • Ensured the pull request title is descriptive.
  • Conda lock files have been updated if dependencies have changed.
  • Attributed any Generative AI, such as GitHub Copilot, used in this PR.
  • Marked the PR as ready to review.

The previous attempt in c04f769 allows
the app opt files to be included, but now doesn't exclude the top level
workflow opt. To avoid this while still allowing app opt files, we now
use an exclude pattern relative to the .gitignore file.
@jfrost-mo jfrost-mo self-assigned this Feb 24, 2026
@jfrost-mo jfrost-mo added small Small issue that should be quick to resolve cleanup Non-functional improvement labels Feb 24, 2026
@jfrost-mo jfrost-mo marked this pull request as ready for review February 24, 2026 09:04
@github-actions
Copy link
Contributor

Coverage

Copy link
Collaborator

@JorgeBornemann JorgeBornemann left a comment

Choose a reason for hiding this comment

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

Sorry, I missed the workflow optional configurations in the previous review, much better this way.

@JorgeBornemann JorgeBornemann merged commit 1d1ed5a into main Feb 24, 2026
8 checks passed
@JorgeBornemann JorgeBornemann deleted the 1924_gitignore_workflow_opt_but_not_app_opt branch February 24, 2026 09:27
@jfrost-mo
Copy link
Member Author

jfrost-mo commented Feb 24, 2026 via email

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

Labels

cleanup Non-functional improvement small Small issue that should be quick to resolve

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cset_workflow app optional configurations blocked by .gitignore, is this correct?

2 participants