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

add --if-exists flag to migrate command #128

Conversation

karadnik-flutterint
Copy link
Contributor

Fixes #127

this is to prevent the action from exiting with error when there are no migrations generated from the current migration, which is a perfectly valid case

this is to prevent the action from exiting with error when there are no migrations
generated from the current migration, which is a perfectly valid case
@karadnik-flutterint
Copy link
Contributor Author

Hm, build-test action fails. It looks like an access issue?

remote: Permission to timonmasberg/nx-migration-gh-action.git denied to github-actions[bot].
fatal: unable to access 'https://github.com/timonmasberg/nx-migration-gh-action/': The requested URL returned error: 403
Error: The process '/usr/bin/git' failed with exit code 128

@timonmasberg
Copy link
Owner

Thank you! Didnt know about this case.

@timonmasberg timonmasberg merged commit dece379 into timonmasberg:main May 16, 2024
2 of 3 checks passed
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.

Github action fails if there are no migrations available
2 participants