diff --git a/.linkspector.yml b/.github/.linkspector.yml similarity index 100% rename from .linkspector.yml rename to .github/.linkspector.yml diff --git a/.github/workflows/linkspector.yml b/.github/workflows/linkspector.yml index 4ff35e8e..4bdb5d25 100644 --- a/.github/workflows/linkspector.yml +++ b/.github/workflows/linkspector.yml @@ -1,5 +1,11 @@ name: Linkspector -on: [pull_request] + +on: [push, pull_request] + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: check-links: name: runner / linkspector @@ -11,4 +17,5 @@ jobs: with: github_token: ${{ secrets.github_token }} reporter: github-pr-review - fail_on_error: true \ No newline at end of file + config_file: .github/.linkspector.yml + # fail_level: error \ No newline at end of file