name: Template sync
on:
schedule:
- cron: "0 0 1 * *"
workflow_dispatch:
jobs:
repo-sync:
runs-on: ubuntu-latest
steps:
- name: Get app token
id: app_token
uses: famedly/Meow-GitHub-App-Auth@3076fbaf849c50f5995cf9587cbe9a23bb0910e1
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@900f2210b1d28bbbd0bd22d17926b9e224e8f231
with:
token: ${{ steps.app_token.outputs.GITHUB_APP_TOKEN }}
- name: actions-template-sync
uses: AndreasAugustin/actions-template-sync@8a0f668b83c32a0f673353086d74f12b8853d4f5
with:
github_token: ${{ steps.app_token.outputs.GITHUB_APP_TOKEN }}
source_repo_path: famedly/rust-library-template
pr_reviewers: "famedly/workflows"
upstream_branch: main