.github/workflows/template-sync.yml #16
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 */12 * * *" | |
# manual trigger | |
workflow_dispatch: | |
# Set permissions on GITHUB_TOKEN to allow updates to GitHub Actions workflows | |
permissions: | |
contents: write | |
actions: write | |
jobs: | |
repo-sync: | |
runs-on: ubuntu-latest | |
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@v1.1.8 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
source_repo_path: ScoopInstaller/BucketTemplate | |
upstream_branch: master |