mirror of
https://github.com/openMF/mobile-wallet.git
synced 2026-02-06 07:56:58 +00:00
fix(workflows): correct sync directory workflow for scheduled runs (#1952)
This commit is contained in:
parent
e49f20842f
commit
da9fc7c70f
4
.github/workflows/sync-dirs.yaml
vendored
4
.github/workflows/sync-dirs.yaml
vendored
@ -12,6 +12,7 @@ on:
|
||||
|
||||
jobs:
|
||||
sync-directories:
|
||||
if: github.repository != 'openMF/kmp-project-template'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
@ -31,7 +32,8 @@ jobs:
|
||||
|
||||
- name: Add upstream remote and fetch
|
||||
run: |
|
||||
git remote add upstream ${{ inputs.upstream }} || true
|
||||
UPSTREAM="${{ inputs.upstream || 'https://github.com/openMF/kmp-project-template.git' }}"
|
||||
git remote add upstream "$UPSTREAM" || true
|
||||
git fetch upstream || exit 1
|
||||
|
||||
- name: Check upstream/dev exists
|
||||
|
||||
@ -26,7 +26,6 @@ plugins {
|
||||
alias(libs.plugins.module.graph) apply true
|
||||
alias(libs.plugins.detekt) apply false
|
||||
alias(libs.plugins.spotless) apply false
|
||||
alias(libs.plugins.ktlint) apply false
|
||||
alias(libs.plugins.version.catalog.linter) apply true
|
||||
// Multiplatform plugins
|
||||
alias(libs.plugins.jetbrainsCompose) apply false
|
||||
|
||||
Loading…
Reference in New Issue
Block a user