Skip to content

Commit

Permalink
attempt reusable workflow from template
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTurnerNIH committed Sep 3, 2024
1 parent f3909be commit fe076ff
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions .github/workflows/check-links.yaml
Original file line number Diff line number Diff line change
@@ -1,34 +1,9 @@
name: 'Check Links'
on:
workflow_call:
inputs:
directory:
required: false
type: string
repo_link_ignore_list:
required: true
type: string
secrets:
PAT:
required: false
push:
pull_request:

jobs:
link_check:
name: 'Link Check'
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Link Check
with:
link_ignore_list: ${{ inputs.repo_link_ignore_list }}
directory: ${{ inputs.directory }}
PAT: ${{ secrets.PAT }}
env:
LINK_IGNORE_LIST: https://www.sciencedirect.com,https://portlandpress.com
run: |
python3 .github/workflows/check_links.py
uses: NIGMS/NIGMS-Sandbox-Repository-Template/.github/workflows/check-links.yaml@reusable_workflow

0 comments on commit fe076ff

Please sign in to comment.