[Github] Set code formatting job timeout to 30 minutes (#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.
This commit is contained in:
Aiden Grossman 2024-08-30 01:08:38 -07:00 committed by GitHub
parent ce7c828e08
commit 54916e5784
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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