-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
94 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Candace Savonen Aug 2021 | ||
# For info on how to update this file see: https://github.com/marketplace/actions/repo-file-sync-action#%EF%B8%8F-sync-configuration | ||
|
||
group: | ||
# Repositories to recieve changes | ||
repos: | | ||
https://github.com/jhudsl/DaSL_Template_Sync_Test | ||
###ADD NEW REPO HERE following the format above# | ||
files: | ||
- source: .github/workflows/render-bookdown.yml | ||
dest: .github/workflows/render-bookdown.yml | ||
- source: .github/workflows/render-preview.yml | ||
dest: .github/workflows/render-preview.yml | ||
- source: .github/workflows/docker-build-test.yml | ||
dest: .github/workflows/docker-build-test.yml | ||
- source: .github/workflows/transfer-rendered-files.yml | ||
dest: .github/workflows/transfer-rendered-files.yml | ||
- source: .github/workflows/style-and-sp-check.yml | ||
dest: .github/workflows/style-and-sp-check.yml | ||
- source: .github/workflows/url-checker.yml | ||
dest: .github/workflows/url-checker.yml | ||
- source: .github/workflows/release-notes.yml | ||
dest: .github/workflows/release-notes.yml | ||
- source: .github/workflows/delete-preview.yml | ||
dest: .github/workflows/delete-preview.yml | ||
- source: .github/ISSUE_TEMPLATE/course-problem-report.md | ||
dest: .github/ISSUE_TEMPLATE/course-problem-report.md | ||
- source: .github/ISSUE_TEMPLATE/course-content-add.md | ||
dest: .github/ISSUE_TEMPLATE/course-content-add.md | ||
- source: scripts/spell-check.R | ||
dest: scripts/spell-check.R | ||
- source: scripts/git_repo_check.R | ||
dest: scripts/git_repo_check.R | ||
- source: code_of_conduct.md | ||
dest: code_of_conduct.md | ||
|
||
###### TO ADD NEW REPOSITORY USE THIS FORMAT; Feel free to add/drop files that | ||
# you specifically would like synced (or not). | ||
# | ||
# # Repositories to receive changes | ||
# repos: | | ||
# org/repo_name | ||
# # Files which should be updated | ||
# - source: .github/workflows/ | ||
# dest: .github/workflows/ | ||
# - source: scripts/ | ||
# dest: scripts/ | ||
# - source: docker/ | ||
# dest: docker/ |
File renamed without changes.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Candace Savonen Aug 2021 | ||
|
||
name: Test Sync Files | ||
|
||
on: | ||
release: | ||
types: [prereleased, published] | ||
workflow_dispatch: | ||
inputs: | ||
prtag: | ||
description: 'Tag to use?' | ||
required: true | ||
default: 'null' | ||
|
||
jobs: | ||
sync: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@master | ||
|
||
- name: Get the version | ||
id: get_tag | ||
run: | | ||
if [ github.event.inputs.prtag == 'null' ] | ||
then | ||
echo ::set-output name=version::$(echo $GITHUB_REF | cut -d / -f 3) | ||
fi | ||
if [ github.event.inputs.prtag != 'null' ] | ||
then | ||
echo ::set-output name=version::${{ github.event.inputs.prtag }} | ||
fi | ||
- name: Run Mechanics File Sync | ||
uses: BetaHuhn/repo-file-sync-action@v1.7.1 | ||
with: | ||
GH_PAT: ${{ secrets.GH_PAT }} | ||
COMMIT_BODY: release-${{ steps.get_tag.outputs.version }} | ||
CONFIG_PATH: ./github/workflows/test-sync.yml |