Skip to content

Sync with Az-RBSI Template #14

Sync with Az-RBSI Template

Sync with Az-RBSI Template #14

Workflow file for this run

# File: .github/workflows/template-sync.yml
name: "Sync with Az-RBSI Template"
on:
# cronjob trigger
schedule:
- cron: "30 04 * * 1"
# manual trigger
workflow_dispatch:
jobs:
repo-sync:
runs-on: ubuntu-latest
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
permissions:
contents: write
pull-requests: write
steps:
# To use this repository's private action, you must check out the repository
- name: Checkout
uses: actions/checkout@v4
- name: actions-template-sync
uses: AndreasAugustin/actions-template-sync@v2
with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
source_repo_path: AZ-First/Az-RBSI
pr_title: "[bot] Update Robot Code with latest version of Az-RBSI"
pr_body: "Automated PR to synchronize this repository's code with the latest version of [Az-RBSI](${SOURCE_REPO}).\nThe target commit in the template repository is [${TEMPLATE_GIT_HASH}](https://github.com/AZ-First/Az-RBSI/commit/${TEMPLATE_GIT_HASH}).\nSee the [Az-RBSI Releases page](https://github.com/AZ-First/Az-RBSI/releases) for more information."
pr_commit_msg: "Update to the latest version of Az-RBSI"
pr_branch_name_prefix: "Az-RBSI_template_sync"
is_pr_cleanup: true