Skip to content

Commit 24dba30

Browse files
committed
Fix to run on PRs to the yml itself.
1 parent 7b7609c commit 24dba30

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/archiving.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: archiving
22

33
on:
4+
pull_request:
5+
paths:
6+
- '.github/workflows/archiving.yml'
47
schedule:
58
# Run every day at 2am (PST) - cron uses UTC times
69
# This is set to 3 hours after zip workflow finishes so zip testing can run after.
@@ -10,7 +13,7 @@ jobs:
1013
# Archive tests for pods that support iOS only.
1114
pods-ios-only-cron:
1215
# Don't run on private repo.
13-
# if: github.event_name == 'schedule' && github.repository != 'FirebasePrivate/firebase-ios-sdk'
16+
if: github.repository != 'FirebasePrivate/firebase-ios-sdk'
1417

1518
runs-on: macOS-latest
1619
strategy:
@@ -28,7 +31,7 @@ jobs:
2831
# Archive tests for pods that support iOS, tvOS, and macOS.
2932
pods-ios-tvos-macos-cron:
3033
# Don't run on private repo.
31-
#if: github.event_name == 'schedule' && github.repository != 'FirebasePrivate/firebase-ios-sdk'
34+
if: github.repository != 'FirebasePrivate/firebase-ios-sdk'
3235

3336
runs-on: macOS-latest
3437
strategy:

0 commit comments

Comments
 (0)