Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
walkowif committed Mar 1, 2024
1 parent 6501667 commit 6ea8e5a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/spelling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,15 @@ jobs:

- name: Normalize variables 📏
if: >
!contains(steps.get-commit-message.outputs.head_commit_message, '[skip spelling]') }}
!contains(steps.get-commit-message.outputs.head_commit_message, '[skip spelling]')
run: |
package_subdirectory_input="${{ inputs.package-subdirectory }}"
echo "package_subdirectory=${package_subdirectory_input:-.}" >> $GITHUB_ENV
shell: bash

- name: Run Spellcheck 👟
if: >
!contains(steps.get-commit-message.outputs.head_commit_message, '[skip spelling]') }}
!contains(steps.get-commit-message.outputs.head_commit_message, '[skip spelling]')
uses: insightsengineering/r-spellcheck-action@v2
with:
exclude: ${{ inputs.exclude }}
Expand All @@ -130,7 +130,7 @@ jobs:
- name: Clean up WORDLIST 🧼
if: >
github.event_name == 'push' &&
!contains(steps.get-commit-message.outputs.head_commit_message, '[skip spelling]') }}
!contains(steps.get-commit-message.outputs.head_commit_message, '[skip spelling]')
run: |
x <- readLines('inst/WORDLIST')
file.remove('inst/WORDLIST')
Expand All @@ -145,7 +145,7 @@ jobs:
- name: Checkout to main 🛎
if: >
github.event_name == 'push' &&
!contains(steps.get-commit-message.outputs.head_commit_message, '[skip spelling]') }}
!contains(steps.get-commit-message.outputs.head_commit_message, '[skip spelling]')
run: |
git fetch origin main
git checkout main
Expand All @@ -154,7 +154,7 @@ jobs:
- name: Set file pattern to commit ⚙️
if: >
github.event_name == 'push' &&
!contains(steps.get-commit-message.outputs.head_commit_message, '[skip spelling]') }}
!contains(steps.get-commit-message.outputs.head_commit_message, '[skip spelling]')
id: file-pattern
run: |
if [[ "${{ inputs.package-subdirectory }}" == "." ]]; then
Expand All @@ -168,7 +168,7 @@ jobs:
- name: Commit and push changes 📌
if: >
github.event_name == 'push' &&
!contains(steps.get-commit-message.outputs.head_commit_message, '[skip spelling]') }}
!contains(steps.get-commit-message.outputs.head_commit_message, '[skip spelling]')
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "[skip ci] Update WORDLIST"
Expand Down

0 comments on commit 6ea8e5a

Please sign in to comment.