mirror of
https://github.com/NuschtOS/search.git
synced 2024-11-24 04:19:07 +01:00
25 lines
621 B
YAML
25 lines
621 B
YAML
name: "Sync template"
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 1 * *"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
repo-sync:
|
|
if: github.repository != 'NuschtOS/template'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
|
- uses: AndreasAugustin/actions-template-sync@v2
|
|
with:
|
|
# required to update github workflow files
|
|
github_token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
|
pr_commit_msg: Merge template changes
|
|
source_repo_path: NuschtOS/template
|