Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed executions in scheduled runs #69

Open
fviolette opened this issue Jun 1, 2022 · 0 comments
Open

Failed executions in scheduled runs #69

fviolette opened this issue Jun 1, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@fviolette
Copy link

fviolette commented Jun 1, 2022

When running vale in a cron job, the execution fails.
My example includes a custom runner which works in other contexts (push, pr).

on:
  schedule:
    - cron: "0 0 * * 1-5"

jobs:
  deploy:
    runs-on: ["nodejs-16"]
    steps:
    - name: Checkout
      uses: actions/checkout@master
    - name: Vale
      uses: errata-ai/vale-action@reviewdog
      with:
        reporter: github-check
      env:
        GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Installing Vale version 'latest' ...
/bin/tar xz --overwrite -C /github/home -f /runner/_work/_temp/1fb8e340-4ab8-436b-bc5c-87139bb85213
Installed version '2.17.0' into '/github/home/vale'.
/github/home/vale sync
Running vale with reviewdog 🐶 ...
  /github/home/vale --output=/lib/rdjsonl.tmpl .
  /bin/reviewdog -f=rdjsonl -name=vale -reporter=github-check -fail-on-error=false -filter-mode=added -level=error
  reviewdog: post failed for vale: failed to create check: POST https://api.github.com/repos///check-runs: 404 Not Found []
Error: reviewdog exited with status code: 1

See reviewdog/reviewdog#832

@jdkato jdkato added the bug Something isn't working label Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants