Skip to content

feat(github): sync action #11

feat(github): sync action

feat(github): sync action #11

Workflow file for this run

name: Sync repositories
on:
pull_request:
# TODO uncomment
# pull_request:
# types:
# - closed
# branches:
# - master
# workflow_dispatch:
jobs:
run:
# TODO uncomment
# if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'
# uses: rees46/workflow/.github/workflows/reusable-android-synchronization.yaml@master
uses: rees46/workflow/.github/workflows/reusable-android-synchronization.yaml@refactor/reusable-android-synchronization
permissions: write-all
with:
appId: ${{ vars.PERSONACLICK_COURIER_ID }}
targetRepository: personaclick/android-sdk
sourceDirname: rees46
targetDirname: personaClick
syncIgnore: ".git,.idea,version.properties,LICENSE"
replacementExtentions: "*.kts,*.kt,*.md,*.xml,*.toml"
replacementContents: "https://api.rees46.com/|https://api.personaclick.com/,com.rees46:rees46-sdk|com.personaclick:personaclick-sdk,api.rees46.com|api.personaclick.com,rees46.com|personaclick.com,rees46|personaClick,REES46|PersonaClick,Rees46|PersonaClick,https://img.shields.io/maven-central/v/com.rees46/rees46-sdk?style=for-the-badge|https://img.shields.io/maven-central/v/com.personaclick/personaclick-sdk?style=for-the-badge,r46_android_sdk_cover|r46_android_sdk_cover"
secrets:
privateKey: ${{ secrets.PERSONACLICK_COURIER_SECRET }}
# token: ${{ secrets.JADE_SMITH_BOT_TOKEN }}