From 15b281ecb7981263b62321837899e7da4f43b3ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20P=C3=A9rez?= Date: Thu, 17 Dec 2020 21:33:25 -0600 Subject: [PATCH] fixing syntax errors --- .github/workflows/sync-workflow.yml | 40 ++++++++++++++--------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/sync-workflow.yml b/.github/workflows/sync-workflow.yml index d07ea46d..01d7c0f2 100644 --- a/.github/workflows/sync-workflow.yml +++ b/.github/workflows/sync-workflow.yml @@ -2,31 +2,31 @@ name: Fork Sync with Upstream on: schedule: - - cron: '0 7 * * 1,4' + - cron: '0 7 * * 1,4' jobs: sync_with_upstream: runs-on: ubuntu-latest - steps: - - name: Checkout master - uses: actions/checkout@v2 - with: - ref: master + steps: + - name: Checkout master + uses: actions/checkout@v2 + with: + ref: master - - name: Pull (Fast-Forward) upstream changes - id: sync - uses: aormsby/Fork-Sync-With-Upstream-action@v2.0 - with: - upstream_repository: panr/hugo-theme-hello-friend - upstream_branch: master - target_branch: master - git_pull_args: --ff-only # optional arg use, defaults to simple 'pull' - github_token: ${{ secrets.GITHUB_TOKEN }} # optional, for accessing repos that require authentication + - name: Pull (Fast-Forward) upstream changes + id: sync + uses: aormsby/Fork-Sync-With-Upstream-action@v2.0 + with: + upstream_repository: panr/hugo-theme-hello-friend + upstream_branch: master + target_branch: master + git_pull_args: --ff-only + github_token: ${{ secrets.GITHUB_TOKEN }} - - name: Check for new commits - if: steps.sync.outputs.has_new_commits - run: echo "There were new commits." + - name: Check for new commits + if: steps.sync.outputs.has_new_commits + run: echo "There were new commits." - - name: Timestamp - run: date + - name: Timestamp + run: date