Files
FTL/.github/workflows/sync-back-to-dev.yml
T
DL6ER af4378d46f Merge pull request #1506 from pi-hole/sync_back
Use github cli to sync master back to development
2022-12-27 18:20:33 +01:00

19 lines
471 B
YAML

name: Sync Back to Development
on:
push:
branches:
- master
jobs:
sync-branches:
runs-on: ubuntu-latest
name: Syncing branches
steps:
- name: Checkout
uses: actions/checkout@v3.2.0
- name: Opening pull request
run: gh pr create -B development -H master --title 'Sync master back into development' --body 'Created by Github action' --label 'internal'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}