-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fa68203
commit 442bc3b
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
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,30 @@ | ||
name: Automerge | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 0/12 * * *' | ||
|
||
env: | ||
REPO: https://rticommunity:${{secrets.GITHUB_TOKEN}}@github.com/rticommunity/rticonnextdds-examples.git | ||
|
||
DESTINATION_BRANCH: develop | ||
|
||
MASTER_REPO: https://github.com/rticommunity/rticonnextdds-examples.git | ||
|
||
MERGE_BRANCH: release/7.3.0 | ||
|
||
jobs: | ||
merge: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Merge with master | ||
run: | | ||
git clone ${{env.REPO}} -b ${{env.DESTINATION_BRANCH}} tmp | ||
cd tmp | ||
git config user.name "Automerge Bot" | ||
git config user.email "[email protected]" | ||
git config pull.rebase false | ||
git pull ${{env.MASTER_REPO}} ${{env.MERGE_BRANCH}} | ||
git push |