.github/workflows/template-sync.yml #8
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
on: | |
# cronjob trigger | |
schedule: | |
- cron: "0 0 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 | |
# https://github.com/actions/checkout#usage | |
# uncomment if you use submodules within the source repository | |
# with: | |
# submodules: true | |
- name: actions-template-sync | |
uses: AndreasAugustin/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
source_repo_path: windingwind/zotero-plugin-template | |
upstream_branch: main |