Skip to content

Conversation

@nisbet-hubbard
Copy link
Contributor

Currently, because the main workflow first removes the old files before committing new ones, the files are shown to be replaced in toto in diffs. This is unnecessary because file_put_contents as used in action.php overwrites by default when the FILE_APPEND flag isn’t set.

This PR removes the redundant operation and allows a proper diff to be generated.

@cdransf cdransf requested a review from newbold September 3, 2024 01:40
@cdransf
Copy link
Member

cdransf commented Sep 3, 2024

Looks good, thank you!

@cdransf cdransf merged commit b30ca5f into ai-robots-txt:main Sep 3, 2024
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.

2 participants