We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 912d8c0 commit a6c8725Copy full SHA for a6c8725
.github/workflows/common.yml
@@ -1,5 +1,8 @@
1
name: common
2
3
+permissions:
4
+ contents: read
5
+
6
on:
7
workflow_call:
8
inputs:
@@ -56,8 +59,8 @@ jobs:
56
59
key: ${{ steps.generate_cache_key.outputs.cache_key }}
57
60
58
61
spm:
- # Don't run on private repo unless it is a PR.
- if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
62
+ # Run on the main repo's scheduled jobs or pull requests and manual workflow invocations.
63
+ if: (github.repository == 'firebase/firebase-ios-sdk' && github.event_name == 'schedule') || contains(fromJSON('["pull_request", "workflow_dispatch"]'), github.event_name)
64
needs: [spm-package-resolved]
65
strategy:
66
matrix:
0 commit comments