1
0
mirror of https://github.com/pi-hole/docker-pi-hole.git synced 2024-06-30 21:20:59 +02:00
docker-pi-hole/.github/workflows/sync-back-to-dev.yml
Christian König 6ed70c21a0
Use github cli to sync master back to development
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-12-15 21:46:58 +01:00

19 lines
463 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.1.0
- name: Opening pull request
run: gh pr create -B dev -H master --title 'Sync master back into development' --body 'Created by Github action' --label 'internal'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}