mirror of
https://gitee.com/openharmony/third_party_rust_bindgen
synced 2025-01-22 07:13:08 +00:00
6322b2d9eb
* gh action for merging main to master on pr merge * remove pull_request as trigger. only use push, that is after merging the pull_request
22 lines
470 B
YAML
22 lines
470 B
YAML
name: sync master from main
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
sync-branches:
|
|
runs-on: ubuntu-latest
|
|
name: Keep master and main in sync until master is done
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Merge master <- main
|
|
uses: devmasx/merge-branch@master
|
|
with:
|
|
type: now
|
|
from_branch: main
|
|
target_branch: master
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|