[llvm] [Github] Set code formatting job timeout to 30 minutes (PR #106674)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 29 23:56:04 PDT 2024
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/106674
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.
>From 2180d7dfd23bab91cfcb46977ec223e22ce8c3a4 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Fri, 30 Aug 2024 06:54:04 +0000
Subject: [PATCH] [Github] Set code formatting job timeout to 30 minutes
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.
---
.github/workflows/pr-code-format.yml | 1 +
1 file changed, 1 insertion(+)
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
More information about the llvm-commits
mailing list