Handling anvil.yaml with Github integration

What I’m trying to do:

Is there any way to not update anvil.yaml when integrating directly with Github? I’ve cloned a fork of an Anvil app, and thanks to needing to also clone its dependencies the anvil.yaml file has changed.

If I were to make changes to the app and submit a pull request those dependency changes would be part of the pull request, which I do not want.

What I’ve tried and what’s not working:

I’ve seen Owen’s technique here: Handling anvil.yaml in a git workflow that seems designed for when you’re going by way of a local git repo, not integrating directly with Github.

I also tried to see if there were some way on the Github side to ignore anvil.yaml when creating the pull request, but that doesn’t seem possible.

If necessary I can go by way of a local git repo, but I was hoping to use the built-in Github integration for convenience.

1 Like