Skip to content

Utility File Sync [Runner ID: 65] #29

Utility File Sync [Runner ID: 65]

Utility File Sync [Runner ID: 65] #29

Workflow file for this run

###
#
# This workflow file is deployed into this repository via the "Sync Organization Files" workflow
#
# Direct edits to this file are at risk of being overwritten by the next sync. All edits should be made
# to the source file.
#
# @see Sync workflow {@link https://github.com/gocodebox/.github/actions/workflows/workflow-sync.yml}
# @see Workflow template {@link https://github.com/gocodebox/.github/blob/trunk/.github/workflow-templates/sync-branches.yml}
#
###
name: Sync Branches
on:
push:
branches:
- trunk
workflow_dispatch:
jobs:
sync:
name: trunk -> dev
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.ORG_WORKFLOWS }}
fetch-depth: 0
- name: Perform sync
run: |
git config --global user.name "branch-sync[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git checkout dev
git pull origin trunk --no-ff
git status
git push origin dev