File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Repository synchronization
2+
3+ on :
4+ pull_request :
5+ types :
6+ - closed
7+ branches :
8+ - master
9+ workflow_dispatch :
10+
11+ jobs :
12+ prepare :
13+ if : |
14+ github.event_name == 'workflow_dispatch' ||
15+ (
16+ github.event_name == 'pull_request' &&
17+ github.event.pull_request.merged == true &&
18+ startsWith(github.event.pull_request.head.ref, 'release/')
19+ )
20+ runs-on : ubuntu-latest
21+ outputs :
22+ replacements : ${{ steps.getReplacementsStep.outputs.replacements }}
23+ steps :
24+ - uses : rees46/workflow/.github/actions/sync/read-replacements@master
25+ id : getReplacementsStep
26+ with :
27+ appId : ${{ vars.PUBLIVERSIONER_ID }}
28+ appSecret : ${{ secrets.PUBLIVERSIONER_SECRET }}
29+ replacementsPath : github/repo-sync-replacements/android-sdk.yml
30+
31+ repoSync :
32+ needs : prepare
33+ uses : rees46/workflow/.github/workflows/reusable-repo-sync.yml@master
34+ secrets :
35+ appSecret : ${{ secrets.PERSONACLICK_COURIER_SECRET }}
36+ with :
37+ appId : ${{ vars.PERSONACLICK_COURIER_ID }}
38+ replacements : ${{ needs.prepare.outputs.replacements }}
39+ repositoryOwner : personaclick
40+ targetRepository : personaclick/android-sdk
41+ reviewerUsername : iwwwanow
You can’t perform that action at this time.
0 commit comments