diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 968c4e9..2aee009 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -1,41 +1,18 @@ name: reviewdog on Pull Request -on: [push] # on: [pull_request] +on: [pull_request] jobs: - reviewdog: - name: reviewdog - runs-on: ubuntu-latest - - steps: - - name: Dump GitHub Context - env: - GITHUB_CONTEXT: ${{ toJson(github) }} - run: echo "${GITHUB_CONTEXT}" - - name: Dump GitHub Event - run: cat "${GITHUB_EVENT_PATH}" - - - name: Setup reviewdog - run: | - mkdir -p $HOME/bin && curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s -- -b $HOME/bin - echo ::add-path::$HOME/bin - - - name: Run reviewdog - env: - REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - reviewdog - misspell: name: runner / misspell runs-on: ubuntu-latest - + steps: - name: Check out code. - uses: actions/checkout@v1 + uses: actions/checkout@master - name: misspell - uses: reviewdog/action-misspell@v1 + uses: reviewdog/action-misspell@master with: - github_token: ${{ secrets.github_token }} + github_token: ${{ secrets.GITHUB_TOKEN }} locale: "US" diff --git a/.reviewdog.yml b/.reviewdog.yml new file mode 100644 index 0000000..1c3fa23 --- /dev/null +++ b/.reviewdog.yml @@ -0,0 +1,7 @@ +# reviewdog.yml + +runner: + misspell: + cmd: misspell $(git ls-files) + errorformat: + - "%f:%l:%c: %m" diff --git a/meditation.txt b/meditation.txt new file mode 100644 index 0000000..f8cad99 --- /dev/null +++ b/meditation.txt @@ -0,0 +1 @@ +is this a meditation or langauge, bos