add logging initialization only if run directly #160
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: misspell | |
on: [push, pull_request] | |
jobs: | |
misspell: | |
name: runner / misspell | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code. | |
uses: actions/checkout@v1 | |
- name: misspell | |
if: ${{ !env.ACT }} | |
uses: reviewdog/action-misspell@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
locale: "US" | |
reporter: github-check # Change reporter. |