Skip to content

Commit

Permalink
Hotfix: Update the wordlist when updating the README
Browse files Browse the repository at this point in the history
  • Loading branch information
seabbs authored Sep 4, 2024
1 parent dc15499 commit 7a68547
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/render-readme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Install dependencies
uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rmarkdown, local::., any::allcontributors
extra-packages: any::rmarkdown, local::., any::allcontributors, any::spelling

- name: Update contributors
if: github.ref == 'refs/heads/main'
Expand All @@ -47,6 +47,10 @@ jobs:
with:
name: readme
path: README.md
- name: Update the wordlist
run: |
spelling::update_wordlist(confirm = FALSE
shell: Rscript {0}

- name: Create Pull Request
if: github.ref == 'refs/heads/main'
Expand All @@ -61,4 +65,5 @@ jobs:
add-paths: |
README.Rmd
README.md
inst/WORDLIST
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7a68547

Please sign in to comment.