Try to fix issue about danger file not found.

This commit is contained in:
Benoit Marty 2022-12-08 10:48:17 +01:00
parent 7034d82259
commit b25f185d63
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ jobs:
- name: Danger
uses: danger/danger-js@11.2.0
with:
args: "--dangerfile tools/danger/dangerfile.js"
args: "--dangerfile ./tools/danger/dangerfile.js"
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
# Fallback for forks

View File

@ -68,7 +68,7 @@ jobs:
if: always()
uses: danger/danger-js@11.2.0
with:
args: "--dangerfile tools/danger/dangerfile-lint.js"
args: "--dangerfile ./tools/danger/dangerfile-lint.js"
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
# Fallback for forks