Skip to content

Template sync

Template sync #30

Workflow file for this run

# File: .github/workflows/template-sync.yml
name: Template sync
on:
# cronjob trigger
schedule:
- cron: "0 0 1 * *"
# manual trigger
workflow_dispatch:
jobs:
repo-sync:
runs-on: ubuntu-latest
steps:
# To use this repository's private action, you must check out the repository
- name: Get app token
id: app_token
uses: famedly/[email protected]
with:
app-id: ${{ vars.TEMPLATE_SYNC_APP_ID }}
installation-id: ${{ vars.TEMPLATE_SYNC_INSTALLATION_ID }}
key-base64: ${{ secrets.TEMPLATE_SYNC_APP_PK }}
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ steps.app_token.outputs.GITHUB_APP_TOKEN }}
- name: actions-template-sync
uses: AndreasAugustin/actions-template-sync@54cc6daa8773c61a6df312b2cb9f4f82ef72d690
with:
github_token: ${{ steps.app_token.outputs.GITHUB_APP_TOKEN }}
source_repo_path: famedly/rust-library-template
pr_reviewers: "famedly/workflows"
upstream_branch: main