Merge remote-tracking branch 'upstream/rolling' into rolling #93
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
name: Sync Rolling | |
env: | |
UPSTREAM_URL: "https://github.com/ros2/ros2_documentation.git" | |
WORKFLOW_TOKEN: ${{ secrets.WORKFLOW_TOKEN }} | |
UPSTREAM_BRANCH: "rolling" | |
DOWNSTREAM_BRANCH: "rolling" | |
FETCH_ARGS: "" | |
MERGE_ARGS: "" | |
PUSH_ARGS: "" | |
SPAWN_LOGS: "false" # "true" or "false" | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' | |
push: | |
branches: | |
- rolling | |
jobs: | |
sync: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Sync and merge Official PlanSys2 documentation | |
uses: fmrico/sync-docs@main | |
with: | |
upstream_repo: ${{ env.UPSTREAM_URL }} | |
upstream_branch: ${{ env.UPSTREAM_BRANCH }} | |
downstream_branch: ${{ env.DOWNSTREAM_BRANCH }} | |
token: ${{ env.WORKFLOW_TOKEN }} | |
fetch_args: ${{ env.FETCH_ARGS }} | |
merge_args: ${{ env.MERGE_ARGS }} | |
push_args: ${{ env.PUSH_ARGS }} | |
spawn_logs: ${{ env.SPAWN_LOGS }} |