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

Unable to check on pull request #120

Closed
shreeshailaya opened this issue Oct 11, 2021 · 1 comment
Closed

Unable to check on pull request #120

shreeshailaya opened this issue Oct 11, 2021 · 1 comment

Comments

@shreeshailaya
Copy link

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
Copy link
Owner

gaurav-nelson commented Oct 14, 2021

@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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants