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