mirror of
https://github.com/openMF/mifos-mobile.git
synced 2026-02-06 11:26:51 +00:00
fix(workflows): correct sync directory workflow for scheduled runs (#3046)
This commit is contained in:
parent
99c8d68587
commit
411af7287f
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user