mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
This commit adds a github actions pipeline that syncs the master branch with upstream every 15 minutes
23 lines
549 B
YAML
23 lines
549 B
YAML
# This pipeline keeps the master branch up to date with upstream master
|
|
name: Upstream Synchronization
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "*/15 * * * *"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
repo-sync:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
persist-credentials: false
|
|
- name: repo-sync
|
|
uses: repo-sync/github-sync@v2
|
|
with:
|
|
source_repo: "https://github.com/PX4/PX4-Autopilot.git"
|
|
source_branch: "master"
|
|
destination_branch: "master"
|
|
github_token: ${{ secrets.PAT }}
|