Unable to check on pull request
Closed this issue · 1 comments
shreeshailaya commented
unable to check links on pull request here is config file and here is an error log(fatal: couldn't find remote ref master)
gaurav-nelson commented
@shreeshailaya Because your base branch is main
you must specify it by using the base-branch
variable.
on: [pull_request]
name: Check links for modified files
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
check-modified-files-only: 'yes'
base-branch: 'main'