Skip to content

Commit a4fb2a9

Browse files
committed
Make repo sync a pull operation
The action was defined as a push operation before
1 parent 5628212 commit a4fb2a9

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/private-mirror-sync.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
name: Private Mirror Sync
22

3-
concurrency:
4-
group: ${{ github.workflow }}
5-
cancel-in-progress: true
6-
73
on:
8-
push:
9-
branches:
10-
- main
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 2 * * *'
117

128
jobs:
139
sync:
14-
if: github.repository == 'firebase/firebase-android-sdk'
10+
if: github.repository == 'FirebasePrivate/firebase-android-sdk'
1511
runs-on: ubuntu-latest
1612
steps:
13+
- uses: actions/[email protected]
14+
with:
15+
repository: firebase/firebase-android-sdk
16+
ref: main
17+
fetch-depth: 0
18+
submodules: true
19+
1720
- uses: actions/[email protected]
1821
with:
1922
fetch-depth: 0

0 commit comments

Comments
 (0)