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

Dry run mode #15

Closed
FriedrichFroebel opened this issue Sep 26, 2022 · 0 comments · Fixed by #18
Closed

Dry run mode #15

FriedrichFroebel opened this issue Sep 26, 2022 · 0 comments · Fixed by #18
Assignees
Labels
enhancement New feature or request

Comments

@FriedrichFroebel
Copy link

I recently discovered this action and considered using it in my own projects.

For now, it seems to always generate a pull request if there are changes. While this is perfectly fine for most use cases, I would like to use this as a check only, id est an action which reports the corresponding action versions to update inside each workflow and fails if there are updates, without creating a corresponding pull request.

With the current updater class, this seems to be tricky: I would either have to subclass this in some code of mine and overwrite the complete run method - or monkey-patch at least create_pull_request.

Is there any chance of providing some sort of "dry run" mode natively, which just performs the check instead of sending a pull request as well?

@saadmk11 saadmk11 self-assigned this Sep 26, 2022
@saadmk11 saadmk11 added the enhancement New feature or request label Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants