Skip to content

Commit

Permalink
Merge 16e277e into 5437db5
Browse files Browse the repository at this point in the history
  • Loading branch information
jhudsl-robot authored Jan 13, 2022
2 parents 5437db5 + 16e277e commit 2ffcd47
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 14 deletions.
1 change: 1 addition & 0 deletions .github/workflows/delete-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
build-all:
runs-on: ubuntu-latest
steps:

# This is because if a PR is closed before a render finishes it won't find it.
- name: Sleep for 5 minutes
run: sleep 300s
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/docker-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,13 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: checkout repo
uses: actions/checkout@v2

- name: login as jhudsl-robot
run: |
git config --local user.email "itcrtrainingnetwork@gmail.com"
git config --local user.name "jhudsl-robot"
- name: Don't re-test if this is a sync branch
if: ${{ github.head_ref == 'repo-sync/OTTR_Template/default' }}
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/send-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@master

- name: login as jhudsl-robot
run: |
git config --local user.email "itcrtrainingnetwork@gmail.com"
git config --local user.name "jhudsl-robot"
- name: Get the version
id: get_tag
run: |
Expand All @@ -32,7 +37,6 @@ jobs:
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:
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/starting-course.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ jobs:
runs-on: ubuntu-latest
if: github.event.repository.name != 'OTTR_Template'
steps:

# Check out current repository
- name: Fetch current branch
- name: checkout repo
uses: actions/checkout@v2

- name: login as jhudsl-robot
run: |
git config --local user.email "itcrtrainingnetwork@gmail.com"
git config --local user.name "jhudsl-robot"
##### Filing issues!

# Issue for what repository settings need to be set
Expand Down Expand Up @@ -94,7 +97,7 @@ jobs:
resources/images/04-figures_files \
Course_Name.rds \
docs/*.html \
docs/*.md
docs/*.md
# Commit modified files
- name: Commit deleted files
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/style-and-sp-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
- name: checkout repo
uses: actions/checkout@v2

- name: login as jhudsl-robot
run: |
git config --local user.email "itcrtrainingnetwork@gmail.com"
git config --local user.name "jhudsl-robot"
- name: Run spell check
id: spell_check_run
Expand All @@ -35,7 +41,6 @@ jobs:
name: spell-check-results
path: spell_check_results.tsv

############ The items if there's too many spelling errors!
- name: Build components of the spell check comment
id: build-components
env:
Expand All @@ -55,7 +60,7 @@ jobs:
body-includes: spelling errors

- name: Spelling errors!
if: ${{ steps.spell_check_run.outputs.sp_chk_results > 3 }}
if: ${{ steps.spell_check_run.outputs.sp_chk_results >= 3 }}
uses: peter-evans/create-or-update-comment@v1
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
Expand All @@ -68,7 +73,7 @@ jobs:
edit-mode: replace

- name: Check spell check results - fail if too many errors
if: ${{ steps.spell_check_run.outputs.sp_chk_results > 3 }}
if: ${{ steps.spell_check_run.outputs.sp_chk_results >= 3 }}
run: exit 1

- name: No spelling errors
Expand All @@ -88,8 +93,6 @@ jobs:

- name: Commit
run: |
git config --local user.email "actions@github.com"
git config --local user.name "GitHub Actions"
git add \*.Rmd
git commit -m 'Style Rmds' || echo "No changes to commit"
git push origin || echo "No changes to commit"
5 changes: 5 additions & 0 deletions .github/workflows/test-send-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@master

- name: login as jhudsl-robot
run: |
git config --local user.email "itcrtrainingnetwork@gmail.com"
git config --local user.name "jhudsl-robot"
- name: Get the version
id: get_tag
run: |
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/url-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: checkout repo
uses: actions/checkout@v2

- name: login as jhudsl-robot
run: |
git config --local user.email "itcrtrainingnetwork@gmail.com"
git config --local user.name "jhudsl-robot"
- name: URLs-checker
uses: urlstechie/urlchecker-action@master
Expand Down

0 comments on commit 2ffcd47

Please sign in to comment.