mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 14:58:08 +00:00
Use github cli to sync master back to development (#5063)
This commit is contained in:
commit
c32761e786
13
.github/workflows/sync-back-to-dev.yml
vendored
13
.github/workflows/sync-back-to-dev.yml
vendored
@ -13,15 +13,6 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3.1.0
|
uses: actions/checkout@v3.1.0
|
||||||
- name: Opening pull request
|
- name: Opening pull request
|
||||||
id: pull
|
run: gh pr create -B development -H master --title 'Sync master back into development' --body 'Created by Github action' --label 'internal'
|
||||||
uses: tretuna/sync-branches@1.4.0
|
env:
|
||||||
with:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
FROM_BRANCH: 'master'
|
|
||||||
TO_BRANCH: 'development'
|
|
||||||
- name: Label the pull request to ignore for release note generation
|
|
||||||
uses: actions-ecosystem/action-add-labels@v1.1.3
|
|
||||||
with:
|
|
||||||
labels: internal
|
|
||||||
repo: ${{ github.repository }}
|
|
||||||
number: ${{ steps.pull.outputs.PULL_REQUEST_NUMBER }}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user