Skip to content

Commit 809ff27

Browse files
authored
Skip podspec presubmit when PR is closed. (#7969)
1 parent f24ed59 commit 809ff27

18 files changed

+18
-18
lines changed

.github/workflows/abtesting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
116116
podspec-presubmit:
117117
# Don't run on private repo unless it is a PR.
118-
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true
118+
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed'
119119
runs-on: macOS-latest
120120
steps:
121121
- uses: actions/checkout@v2

.github/workflows/analytics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
podspec-presubmit:
3434
# Don't run on private repo unless it is a PR.
35-
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true
35+
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed'
3636
runs-on: macOS-latest
3737
steps:
3838
- uses: actions/checkout@v2

.github/workflows/auth.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134

135135
podspec-presubmit:
136136
# Don't run on private repo unless it is a PR.
137-
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true
137+
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed'
138138
runs-on: macOS-latest
139139
steps:
140140
- uses: actions/checkout@v2

.github/workflows/core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292

9393
podspec-presubmit:
9494
# Don't run on private repo unless it is a PR.
95-
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true
95+
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed'
9696
runs-on: macOS-latest
9797
steps:
9898
- uses: actions/checkout@v2

.github/workflows/crashlytics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
127127
podspec-presubmit:
128128
# Don't run on private repo unless it is a PR.
129-
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true
129+
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed'
130130
runs-on: macOS-latest
131131
steps:
132132
- uses: actions/checkout@v2

.github/workflows/database.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ jobs:
140140

141141
podspec-presubmit:
142142
# Don't run on private repo unless it is a PR.
143-
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true
143+
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed'
144144
runs-on: macOS-latest
145145
steps:
146146
- uses: actions/checkout@v2

.github/workflows/dynamiclinks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787

8888
podspec-presubmit:
8989
# Don't run on private repo unless it is a PR.
90-
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true
90+
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed'
9191
runs-on: macOS-latest
9292
steps:
9393
- uses: actions/checkout@v2

.github/workflows/firestore.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ jobs:
252252

253253
podspec-presubmit:
254254
# Don't run on private repo unless it is a PR.
255-
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true
255+
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed'
256256
runs-on: macOS-latest
257257
steps:
258258
- uses: actions/checkout@v2

.github/workflows/functions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
125125
podspec-presubmit:
126126
# Don't run on private repo unless it is a PR.
127-
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true
127+
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed'
128128
runs-on: macOS-latest
129129
steps:
130130
- uses: actions/checkout@v2

.github/workflows/google-utilities-components.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
6565
podspec-presubmit:
6666
# Don't run on private repo unless it is a PR.
67-
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true
67+
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed'
6868
runs-on: macOS-latest
6969
steps:
7070
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)