Skip to content

release(minor): version 1.1.0 #15

release(minor): version 1.1.0

release(minor): version 1.1.0 #15

Workflow file for this run

name: Sync branches
on:
push:
branches:
- 'main'
- 'development'
jobs:
sync-branch:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'Codeinwp' }} # Disable on forks
steps:
- uses: actions/checkout@master
- name: Retrieve branch name
id: retrieve-branch-name
run: echo "::set-output name=branch_name::$(REF=${GITHUB_HEAD_REF:-$GITHUB_REF} && echo ${REF#refs/heads/} | sed 's/\//-/g')"
- name: Merge main -> development
if: ${{ steps.retrieve-branch-name.outputs.branch_name == 'main' }}
uses: Codeinwp/merge-branch@master
with:
type: now
from_branch: main
target_branch: development
github_token: ${{ secrets.BOT_TOKEN }}