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

Cambiar ficheros actualizados por pre-commit en Github Actions #21

Open
albertotb opened this issue Oct 19, 2023 · 2 comments
Open

Cambiar ficheros actualizados por pre-commit en Github Actions #21

albertotb opened this issue Oct 19, 2023 · 2 comments
Labels
question Further information is requested

Comments

@albertotb
Copy link
Member

Ahora mismo se está comprobando en Github Actions que pasan todos los pre-commits. Opcionalmente, se podría hacer que si alguna cambia ficheros se añadan los cambios a la PR.

Referencias

@albertotb albertotb added the question Further information is requested label Oct 19, 2023
@albertotb
Copy link
Member Author

Hay un ejemplo en la Github Action de black, que ya está deprecada porque corre como un pre-commit hook. Sin embargo se ha dejado el fichero por si se quiere usar algo similar

@albertotb
Copy link
Member Author

Esto también tiene desventajas, ya que si modifica la rama en el remoto luego hay que acordarse de hacer pull inmediatamente o es más fácil que haya conflictos.

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

No branches or pull requests

1 participant