Skip to content

Commit

Permalink
feat(workflows): add file synchronise workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusSkytte committed Dec 21, 2023
1 parent 2557ed3 commit 3664e37
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/sync.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
ssi-dk/diseasystore:
- .github/workflows/synchronise-files.yaml
- .github/sync.yaml

- R/0_linters.R
- tests/testthat/test-0_linters.R

- R/0_R6_utils.R
- tests/testthat/test-0_R6_utils.R

- R/0_documentation.R
- tests/testthat/test-0_documentation.R

- tests/testthat/test-0_return.R
- tests/testthat/test-0_examples.R


ssi-dk/diseasy:
- .github/workflows/synchronise-files.yaml
- .github/sync.yaml

- R/0_linters.R
- tests/testthat/test-0_linters.R

- R/0_R6_utils.R
- tests/testthat/test-0_R6_utils.R

- R/0_documentation.R
- tests/testthat/test-0_documentation.R

- tests/testthat/test-0_return.R
- tests/testthat/test-0_examples.R
17 changes: 17 additions & 0 deletions .github/workflows/synchronise-files.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 🔄 Sync diseasyverse files
on:
push:
branches:
- main
workflow_dispatch:

jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@master
- name: Run GitHub File Sync
uses: BetaHuhn/repo-file-sync-action@v1
with:
GH_PAT: ${{ secrets.GH_PAT }}

0 comments on commit 3664e37

Please sign in to comment.