Repository: firebase/firebase-ios-sdk (language: cpp)

Issue:
Nightly Testing Report
# Nightly Testing Report
This issue([log](https://github.com/firebase/firebase-ios-sdk/actions/runs/6431325130)) is generated at 10/06/2023 05:03 AM, fetching workflow runs triggered in the last 24 hrs.
| Workflow |10/05|
| -------- | -------- |
| [core](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/core.yml) | [in_process](https://github.com/firebase/firebase-ios-sdk/actions/runs/6430224947) |
| [firebase_app_check](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/firebase_app_check.yml) | [in_process](https://github.com/firebase/firebase-ios-sdk/actions/runs/6428544915) |
| [generate_notices](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/notice_generation.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/6430237432) |



Discussion / hints:
Created internal b/303828846 to investigate the `generate_notices` failure.

Fix patch:
diff --git a/.github/actions/notices_generation/Gemfile b/.github/actions/notices_generation/Gemfile
index bb4e5ad4f67..24197d9a369 100644
--- a/.github/actions/notices_generation/Gemfile
+++ b/.github/actions/notices_generation/Gemfile
@@ -1,5 +1,7 @@
 source "https://rubygems.org"
 
+# cocoapods isn't needed for generating the Gemfile.lock, but is needed for the CI job
+gem "cocoapods"
 gem "octokit", "~> 4.19"
 gem "xcodeproj", "~> 1.21"
 gem "plist"
diff --git a/.github/workflows/notice_generation.yml b/.github/workflows/notice_generation.yml
index 81dfc8c7295..3383d378e48 100644
--- a/.github/workflows/notice_generation.yml
+++ b/.github/workflows/notice_generation.yml
@@ -11,7 +11,7 @@ on:
 jobs:
   generate_a_notice:
     # Don't run on private repo.
-    if: github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule'
+    if: github.repository == 'Firebase/firebase-ios-sdk'
     runs-on: macos-12
     name: Generate NOTICES
     env:


Test patch: