From 8ed9aa099e0bc59c439e57fe8f64226b8b2c2029 Mon Sep 17 00:00:00 2001 From: Kirill Ivanov Date: Wed, 14 May 2025 00:04:31 +0300 Subject: [PATCH 1/3] refactor(github): replacements action --- .github/workflows/repo-sync.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/repo-sync.yaml b/.github/workflows/repo-sync.yaml index aa1d1c1..d291df3 100644 --- a/.github/workflows/repo-sync.yaml +++ b/.github/workflows/repo-sync.yaml @@ -15,8 +15,14 @@ jobs: outputs: replacements: ${{ steps.getReplacementsStep.outputs.replacements }} steps: - - uses: rees46/workflow/.github/actions/sync/read-replacements@master + # TODO uncomment + # - uses: rees46/workflow/.github/actions/sync/read-replacements@master + - uses: rees46/workflow/.github/actions/sync/read-replacements@refactor/replacements id: getReplacementsStep + with: + appId: ${{ vars.PUBLIVERSIONER_ID }} + appSecret: ${{ secrets.PUBLIVERSIONER_SECRET }} + replacementsPath: github/repo-sync-replacements/demo-android.yml repoSync: needs: prepare From fbf793f16aa8b8cf207f3f5fa7dc05197b7ebeb7 Mon Sep 17 00:00:00 2001 From: Kirill Ivanov Date: Wed, 14 May 2025 00:07:05 +0300 Subject: [PATCH 2/3] refactor(github): rm constants --- .github/workflows/constants/replacements.yml | 48 -------------------- 1 file changed, 48 deletions(-) delete mode 100644 .github/workflows/constants/replacements.yml diff --git a/.github/workflows/constants/replacements.yml b/.github/workflows/constants/replacements.yml deleted file mode 100644 index f989a77..0000000 --- a/.github/workflows/constants/replacements.yml +++ /dev/null @@ -1,48 +0,0 @@ -deletions: - - .github/workflows/repo-sync.yaml - - .github/workflows/constants/replacements.yml -ignore: - - version.properties - - app/src/main/res/drawable/ic_app.xml - - app/src/main/res/drawable/ic_logo.xml -replacements: - - from: "rees46.demo_shop" - to: "personaClick.demo_shop" - - from: "1cfee7e2e762eed3a3d7d67c413aa0bae7f5ffae" - to: "7907f21814b2f998ffd80451754ce026e3553265" - - from: "publish.yaml.bak" - to: "publish.yaml" - - from: "PUBLIVERSIONER_SECRET" - to: "PERSONACLICK_COURIER_SECRET" - - from: "PUBLIVERSIONER_ID" - to: "PERSONACLICK_COURIER_ID" - - from: "https://reference.api.rees46.com/#introduction" - to: "https://personaclick.atlassian.net/wiki/spaces/english/overview?mode=global" - - from: "desk@rees46.com" - to: "success@personaclick.com" - - from: 357382bf66ac0ce2f1722677c59511 - to: 42a4cd11ebab3b0454778d18d4f3d5 - - from: a043dbc2f852ffe18861a2cdfc364ef2 - to: 5a57812604806d58d3d98f8e9480cb97 - - from: 2dbebc39bee259b118bcc0ac3fa74a42 - to: e4fd6e3a19610f7aea5534e96eec69d6 - - from: a043dbc2f852ffe18861a2cdfc364ef2 - to: aabc899d3db3d71c4032832e4291c16a - - from: fcaa8d3168ab7d7346e4b4f1a1c92214 - to: 09d291f54de95e9e5bde43b343b0b0d7 - - from: https://api.rees46.com/ - to: https://api.personaclick.com/ - - from: com.rees46:rees46-sdk - to: com.personaclick:personaclick-sdk - - from: api.rees46.ru - to: api.personaclick.com - - from: api.rees46.com - to: api.personaclick.com - - from: rees46.com - to: personaclick.com - - from: rees46 - to: personaclick - - from: REES46 - to: PersonaClick - - from: Rees46 - to: PersonaClick From 54a6d8853e25ed9d1eca2582027b2ca87eb93ffd Mon Sep 17 00:00:00 2001 From: Kirill Ivanov Date: Wed, 14 May 2025 00:16:36 +0300 Subject: [PATCH 3/3] chore(github): prepare for prod --- .github/workflows/repo-sync.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/repo-sync.yaml b/.github/workflows/repo-sync.yaml index d291df3..38480f6 100644 --- a/.github/workflows/repo-sync.yaml +++ b/.github/workflows/repo-sync.yaml @@ -15,9 +15,7 @@ jobs: outputs: replacements: ${{ steps.getReplacementsStep.outputs.replacements }} steps: - # TODO uncomment - # - uses: rees46/workflow/.github/actions/sync/read-replacements@master - - uses: rees46/workflow/.github/actions/sync/read-replacements@refactor/replacements + - uses: rees46/workflow/.github/actions/sync/read-replacements@master id: getReplacementsStep with: appId: ${{ vars.PUBLIVERSIONER_ID }}