forked from ugoviti/izpbx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enhance workflow with upstream auto-merge
- Loading branch information
Matthias Wetzel
committed
May 30, 2024
1 parent
7a19fbc
commit 04df8df
Showing
3 changed files
with
46 additions
and
5 deletions.
There are no files selected for viewing
9 changes: 8 additions & 1 deletion
9
.github/workflows/docker-image.yml → .github/workflows/build-image.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Merge upstream changes from IZPBX | ||
|
||
on: | ||
|
||
workflow_dispatch: | ||
|
||
schedule: | ||
- cron: "0 1 * * 1" | ||
|
||
jobs: | ||
|
||
merge-izpbx: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
repository-projects: write | ||
|
||
steps: | ||
- name: Sync and merge IZPBX upstream repository with our main branch | ||
uses: dabreadman/[email protected] | ||
with: | ||
# URL of gitHub public upstream repo | ||
upstream_repo: "https://github.com/ugoviti/izpbx.git" | ||
# Branch to merge from upstream (defaults to downstream branch) | ||
upstream_branch: main | ||
# Branch to merge into downstream | ||
downstream_branch: main | ||
# GitHub Bot token | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
# logs | ||
spawn_logs: true | ||
|
||
|