-
Notifications
You must be signed in to change notification settings - Fork 103
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
Timeout setting does not work #47
Comments
Did you check that the - uses: trstringer/manual-approval@v1
timeout-minutes: 5 |
Thanks for helping, @sheeeng! @alexkuklin, did that work for you? |
not yet, will do, thanks |
I seem to have a problem using timeout-minutes too. I'm trying to pick it up from an environment variable but get the following error when the pipeline is executed. It still runs without a timeout, but this is logged:
I have this at the top of my yml
and this in my step
|
Hi @devszr, sorry to hear that you still experiencing the issue. Could you share with us a minimal working GitHub Actions workflow file that reproduce the issue? It will help us to understand the issue. |
Apologies for the delayed response. I recently installed a YAML syntax checker in VS Code and it seems to mark my timeout-minutes line with an error and provides this message.
Could this mean that the timeout-minutes cannot be passed as an env variable like
|
Hi everybody, same problem here. Even when I setup a timeout option it's not work.
Is anybody that could solve the problem? |
In your case, try moving the timeout-minutes out of with:, like this:
|
It's work perfect here after change the timeout-minutes outside 'with' block. Thanks |
If you use composite runs, the timeout-minutes won't work: https://github.com/actions/runner/blob/main/docs/adrs/0549-composite-run-steps.md#composite-run-steps-features Open issue: actions/runner#1979 |
I've set
and it does not seem to work out. Cancelled it manually after 7 minutes:
The text was updated successfully, but these errors were encountered: