Skip to content

Conversation

@reshnm
Copy link
Contributor

@reshnm reshnm commented Jun 11, 2025

What this PR does / why we need it:

When the code-generator version has changed the pull request validation will fail for all renovate PRs that are created for submodule updates. This results in a human user has to re-generate this files locally and push it to the PR manually.

This change attempts to add the generated files automatically only if the following conditions are met:

  1. runs in a Pull Request
  2. the Pull Request user is renovate

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:

Automatically add generated files to the pull request when created by renovate

@reshnm reshnm requested review from guewa and moelsayed June 11, 2025 14:21
@guewa guewa merged commit df66863 into main Jun 11, 2025
3 checks passed
@guewa guewa deleted the feat/commit-generated-renovate branch June 11, 2025 14:47
reshnm added a commit that referenced this pull request Jun 11, 2025
Revert "fix: authorize github action user to write content"
This reverts commit c359bb5.

Revert "fix: in pull requests checkout the pull request branch"
This reverts commit 0aa2ec6.

Revert "chore(fix): when in a PR and created by PR attempt to add generated files (#35)"
This reverts commit df66863.
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.

3 participants