Skip to content

.github/workflows/main.yml #3

.github/workflows/main.yml

.github/workflows/main.yml #3

Workflow file for this run

on:
schedule:
- cron: '*/30 * * * *'
# scheduled every 30 minutes
workflow_dispatch: # click the button on Github repo!
jobs:
sync_with_upstream:
runs-on: ubuntu-latest
name: Sync master with upstream latest
steps:
- name: Checkout master
uses: actions/checkout@v2
with:
ref: master
- name: Pull upstream changes
id: sync
uses: aormsby/[email protected]
with:
target_sync_branch: master
# REQUIRED 'target_repo_token' exactly like this!
target_repo_token: ${{ secrets.GITHUB_TOKEN }}
upstream_sync_branch: master
upstream_sync_repo: naturalcrit/homebrewery
# Set test_mode true to run tests instead of the true action!!
test_mode: false
- name: Timestamp
run: date