chdb-io / chdb

chDB is an in-process OLAP SQL Engine 🚀 powered by ClickHouse
https://clickhouse.com/docs/en/chdb
Apache License 2.0
2.03k stars 72 forks source link

Restart Canceled Actions #42

Closed lmangani closed 1 year ago

lmangani commented 1 year ago

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 commented 1 year ago

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

auxten commented 1 year ago

PAT_TOKEN added

lmangani commented 1 year ago

Thanks! We should be ready for testing!

auxten commented 1 year ago

We could try it out on the next release.

auxten commented 1 year ago

@all-contributors please add @lmangani for code

allcontributors[bot] commented 1 year ago

@auxten

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

auxten commented 1 year ago

@all-contributors please add @lmangani for code

allcontributors[bot] commented 1 year ago

@auxten

@lmangani already contributed before to code

auxten commented 1 year ago

@all-contributors please add @lmangani for code

allcontributors[bot] commented 1 year ago

@auxten

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