1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-20 02:52:11 +00:00

modify workflow in upstream

This commit is contained in:
Luis Pérez 2020-12-17 21:43:21 -06:00
parent 15b281ecb7
commit 04e475ab2f

View File

@ -2,7 +2,8 @@
name: Fork Sync with Upstream
on:
schedule:
- cron: '0 7 * * 1,4'
- cron: '0 20 * * 0'
workflow_dispatch:
jobs:
sync_with_upstream:
@ -18,11 +19,11 @@ jobs:
id: sync
uses: aormsby/Fork-Sync-With-Upstream-action@v2.0
with:
upstream_repository: panr/hugo-theme-hello-friend
upstream_repository: mail-in-a-box/mailinabox
upstream_branch: master
target_branch: master
target_branch: upstream
git_pull_args: --ff-only
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.G_TOKEN }}
- name: Check for new commits
if: steps.sync.outputs.has_new_commits