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

Restart Canceled Actions #42

Merged
merged 5 commits into from
Jun 19, 2023
Merged

Restart Canceled Actions #42

merged 5 commits into from
Jun 19, 2023

Conversation

lmangani
Copy link
Contributor

@lmangani lmangani commented Jun 16, 2023

Experimental action to detect and restart canceled jobs such as those exceeding the 6h build mark.
Possible side effect is having to temporarily disable the action in case of a loop condition.

@lmangani lmangani marked this pull request as draft June 16, 2023 15:42
@lmangani
Copy link
Contributor Author

lmangani commented Jun 16, 2023

First bump is the GITHUB_TOKEN from the workflows cannot be used to restart the workflows (403)
We need to generate a secret PAT token to be used for this purpose.

Testing the solution on libchdb: https://github.com/metrico/libchdb/actions/runs/5291962170/jobs/9578222535

@lmangani lmangani changed the title Restart Failed Actions Restart Canceled Actions Jun 16, 2023
@auxten
Copy link
Member

auxten commented Jun 17, 2023

PAT_TOKEN added

@lmangani lmangani marked this pull request as ready for review June 17, 2023 14:55
@lmangani
Copy link
Contributor Author

Thanks! We should be ready for testing!

@auxten auxten merged commit 8f8b5da into pybind Jun 19, 2023
@auxten
Copy link
Member

auxten commented Jun 19, 2023

We could try it out on the next release.

@auxten
Copy link
Member

auxten commented Jun 30, 2023

@all-contributors please add @lmangani for code

@allcontributors
Copy link
Contributor

@auxten

I've put up a pull request to add @lmangani! 🎉

@auxten
Copy link
Member

auxten commented Jun 30, 2023

@all-contributors please add @lmangani for code

@allcontributors
Copy link
Contributor

@auxten

@lmangani already contributed before to code

@auxten
Copy link
Member

auxten commented Jun 30, 2023

@all-contributors please add @lmangani for code

@allcontributors
Copy link
Contributor

@auxten

I've put up a pull request to add @lmangani! 🎉

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.

2 participants