Skip to content

Commit

Permalink
Add things to dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
cansavvy committed Aug 24, 2022
1 parent 6fbcf12 commit 66b30b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ jobs:
branch_name='preview-${{ github.event.pull_request.number }}'
git add --force check_reports/spell_check_results.tsv || echo "No changes to commit"
git commit -m 'Add spell check file' || echo "No changes to commit"
git fetch
git merge -s recursive --strategy-option=theirs origin/${{ github.head_ref }} --allow-unrelated-histories
git pull --set-upstream origin $branch_name --allow-unrelated-histories --strategy-option=ours
git push --force origin $branch_name || echo "No changes to commit"
- name: Build components of the spell check comment
Expand Down Expand Up @@ -165,21 +164,14 @@ jobs:
with:
fetch-depth: 0

- name: Configure git
run: |
git config --local user.email "itcrtrainingnetwork@gmail.com"
git config --local user.name "jhudsl-robot"
git checkout ${{ github.head_ref }}
- name: Run styler
run: Rscript -e "styler::style_file(list.files(pattern = 'Rmd$', recursive = TRUE, full.names = TRUE));warnings()"

- name: Commit styled files
run: |
git add \*.Rmd
git commit -m 'Style Rmds' || echo "No changes to commit"
git push || echo "No changes to commit"
git push origin || echo "No changes to commit"
url-check:
name: Check URLs
Expand Down Expand Up @@ -218,7 +210,7 @@ jobs:
git add --force check_reports/url_checks.tsv || echo "No changes to commit"
git commit -m 'Add URL check file' || echo "No changes to commit"
git fetch
git merge -s recursive --strategy-option=theirs origin/${{ github.head_ref }} --allow-unrelated-histories
git merge -s recursive --strategy-option=ours origin/${{ github.head_ref }} --allow-unrelated-histories
git push --force origin $branch_name || echo "No changes to commit"
- name: Build components of the spell check comment
Expand Down
5 changes: 5 additions & 0 deletions resources/dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ Coursera
css
Datatrail
DataTrail
Dockerfile
Dockerhub
dropdown
favicon
GDSCN
GitHub
Github
GH
impactful
ITCR
itcrtraining
Expand Down

0 comments on commit 66b30b7

Please sign in to comment.