diff --git a/.github/workflows/common_cocoapods.yml b/.github/workflows/common_cocoapods.yml index e672dabcaf9..a8d02d13a86 100644 --- a/.github/workflows/common_cocoapods.yml +++ b/.github/workflows/common_cocoapods.yml @@ -104,6 +104,12 @@ on: required: false default: "" + # The timeout (in minutes) for the linting to complete. Defaults to 15. + timeout_minutes: + type: number + required: false + default: 15 + jobs: pod-lib-lint: # Run on the main repo's scheduled jobs or pull requests and manual workflow invocations. @@ -139,7 +145,7 @@ jobs: - uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3 if: contains(join(inputs.platforms), matrix.platform) || matrix.os == 'macos-14' with: - timeout_minutes: 15 + timeout_minutes: ${{ inputs.timeout_minutes }} max_attempts: 3 retry_wait_seconds: 120 command: | diff --git a/.github/workflows/firestore.yml b/.github/workflows/firestore.yml index 2a935f81fa0..548153496f4 100644 --- a/.github/workflows/firestore.yml +++ b/.github/workflows/firestore.yml @@ -397,6 +397,7 @@ jobs: platforms: iOS allow_warnings: true analyze: false # TODO(#9565, b/227461966): Remove when absl is fixed. + timeout_minutes: 30 # `pod lib lint` takes a long time so only run the other platforms and static frameworks build in the cron. pod-lib-lint-cron: