Skip to content

Commit

Permalink
Merge pull request #85 from stakater/pull-request-sha
Browse files Browse the repository at this point in the history
Do checkout of pull request head SHA for pull request doc QA checks
  • Loading branch information
Bharath Nallapeta authored Jan 3, 2024
2 parents 2d631d8 + 3a2d7b2 commit 34cc1c5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/pull_request_doc_qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{github.event.pull_request.head.sha}}
- name: Link check
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
Expand All @@ -34,6 +36,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: ${{github.event.pull_request.head.sha}}
submodules: recursive
- name: Spell check
uses: errata-ai/[email protected]
Expand All @@ -47,6 +50,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{github.event.pull_request.head.sha}}
- name: Style check
uses: reviewdog/action-languagetool@v1
with:
Expand All @@ -60,6 +65,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{github.event.pull_request.head.sha}}
- name: markdownlint-cli
uses: nosborn/[email protected]
with:
Expand Down

0 comments on commit 34cc1c5

Please sign in to comment.