Skip to content

Commit

Permalink
Add template-sync.yaml (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Oct 14, 2024
1 parent 137b150 commit b60659a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/template-sync.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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

0 comments on commit b60659a

Please sign in to comment.