Skip to content

Commit

Permalink
add current pr getter
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexJameson committed Aug 21, 2024
1 parent 0c522d5 commit aa36d46
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/spellcheck-ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,16 @@ jobs:
with:
fetch-depth: 0

- name: Get pull request
id: get-pr
uses: xt0rted/pull-request-comment-branch@v2

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44
with:
base_sha: ${{ steps.get-pr.outputs.base_sha }}
sha: ${{ steps.get-pr.outputs.head_sha }}

- name: Setup Node.js
uses: actions/setup-node@v3
Expand Down
3 changes: 2 additions & 1 deletion cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"cspell-dicts/allowed-en.txt",
"cspell-dicts/internal.txt",
"cspell-dicts/forbidden-ru.txt",
"cspell-dicts/forbidden-en.txt"
"cspell-dicts/forbidden-en.txt",
".github/workflows/spellcheck-ru.yml"
],
"languageSettings": [
{"languageId": "markdown", "caseSensitive": false},
Expand Down

0 comments on commit aa36d46

Please sign in to comment.