Skip to content

Commit

Permalink
Add complete link to PR template so gh action doesn't fail
Browse files Browse the repository at this point in the history
  • Loading branch information
kheal committed Jul 16, 2024
1 parent 4601077 commit e85b3fa
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### All Submissions:

* [ ] Have you followed the guidelines in our [Contributing document](CONTRIBUTING.md)?
* [ ] Have you checked to ensure there aren't other open [Pull Requests](../../../pulls) for the same update/change?
* [ ] Have you checked to ensure there aren't other open [Pull Requests](https://github.com/microbiomedata/nmdc_notebooks/pulls) for the same update/change?
* [ ] Does your PR link to an issue?
* [ ] Have you described the changes this PR will make?

Expand Down
26 changes: 14 additions & 12 deletions .github/workflows/link_check_push.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
# This workflow will check all the links in the markdown files in the repository whenever a push event occurs.
# This workflow will check all the links in the markdown files in the repository on each PR or by manual trigger.

name: Check links on push
on: [ push ]
name: Check links on pull request
on:
pull_request:
workflow_dispatch:
jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Link Checker
# Reference: https://github.com/lycheeverse/lychee-action
id: lychee
uses: lycheeverse/lychee-action@v1
with:
fail: true
- name: Link Checker
# Reference: https://github.com/lycheeverse/lychee-action
id: lychee
uses: lycheeverse/lychee-action@v1
with:
fail: true

0 comments on commit e85b3fa

Please sign in to comment.