[llvm] [Github] Set code formatting job timeout to 30 minutes (PR #106674)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 23:56:37 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-github-workflow

Author: Aiden Grossman (boomanaiden154)

<details>
<summary>Changes</summary>

This patch sets the timeout of the code formatting job to 30 minutes. The job is currently failing in specific circumstances and needs to be reworked, but as a temp hack, change the timeout to 30 minutes so that we can catch these jobs before they hit the Github Actions timeout limit of six hours.

Somewhat (hackily) alleviates #<!-- -->79661 slightly.

---
Full diff: https://github.com/llvm/llvm-project/pull/106674.diff


1 Files Affected:

- (modified) .github/workflows/pr-code-format.yml (+1) 


``````````diff
diff --git a/.github/workflows/pr-code-format.yml b/.github/workflows/pr-code-format.yml
index 6b588f19e307b8..1a1700b75cfdb7 100644
--- a/.github/workflows/pr-code-format.yml
+++ b/.github/workflows/pr-code-format.yml
@@ -12,6 +12,7 @@ on:
 jobs:
   code_formatter:
     runs-on: ubuntu-latest
+    timeout-minutes: 30
     if: github.repository == 'llvm/llvm-project'
     steps:
       - name: Fetch LLVM sources

``````````

</details>


https://github.com/llvm/llvm-project/pull/106674


More information about the llvm-commits mailing list