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

custom: Option to disable running script at startup with signal set #3807

Open
benjamb opened this issue Dec 4, 2024 · 1 comment
Open
Labels

Comments

@benjamb
Copy link

benjamb commented Dec 4, 2024

With a signal configured and interval unset, the custom module will still execute the script at startup.

While I could have my script write to a temporary file to save some kind of state, it would feel much cleaner if I could prevent the script from being run at startup, and will thus only run when triggered via the configured signal.

@github-actions github-actions bot added the custom label Dec 4, 2024
@benjamb
Copy link
Author

benjamb commented Dec 4, 2024

Better yet, if the script were made aware of how it was triggered, that would likely be much more powerful. That could be by CLI args, stdin or environment variables, whichever makes the most sense.

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

No branches or pull requests

1 participant