Skip to content

Commit

Permalink
[#86] Add file sync back
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafaozhan committed Jan 17, 2024
1 parent 7c75a4d commit 62a4fbf
Show file tree
Hide file tree
Showing 2 changed files with 100 additions and 0 deletions.
81 changes: 81 additions & 0 deletions .github/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
group:
# Docs
- files:
- source: docs/
template: true
repos: |
Oztechan/CCC
Oztechan/Tracefit
SubMob/BaseMob
SubMob/ScopeMob
SubMob/LogMob
SubMob/ParserMob
# .github
- files:
- source: .github/auto_assign.yml
- source: .github/CODEOWNERS
repos: |
Oztechan/CCC
Oztechan/Tracefit
# Code Quality
- files:
- source: codecov.yml
- source: detekt.yml
repos: |
Oztechan/CCC
Oztechan/Tracefit
# Dependency Update
- files:
- source: renovate.json
repos: |
Oztechan/CCC
Oztechan/Tracefit
SubMob/BaseMob
SubMob/ScopeMob
SubMob/LogMob
SubMob/ParserMob
Oztechan/CCC:
- source: docs/
template:
repository:
name: 'CCC'
owner: "Oztechan"

Oztechan/TraceFit:
- source: docs/
template:
repository:
name: 'TraceFit'
owner: "Oztechan"

SubMob/BaseMob:
- source: docs/
template:
repository:
name: 'BaseMob'
owner: "SubMob"

SubMob/ScopeMob:
- source: docs/
template:
repository:
name: 'ScopeMob'
owner: "SubMob"

SubMob/LogMob:
- source: docs/
template:
repository:
name: 'LogMob'
owner: "SubMob"

SubMob/ParserMob:
- source: docs/
template:
repository:
name: 'ParserMob'
owner: "SubMob"
19 changes: 19 additions & 0 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Global Config Update
on:
push:
branches:
- develop
workflow_dispatch:
jobs:
GlobalConfigUpdate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1

- name: GitHub File Sync
uses: BetaHuhn/repo-file-sync-action@v1.21.0
with:
GH_PAT: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
PR_LABELS: "config"
COMMIT_PREFIX: "[Oztechan/Global#4] Global config update"

0 comments on commit 62a4fbf

Please sign in to comment.