From fe076ffa5ee796845e49dd564ee7bdb933b3e5e1 Mon Sep 17 00:00:00 2001 From: John Turner Date: Tue, 3 Sep 2024 10:36:22 -0400 Subject: [PATCH] attempt reusable workflow from template --- .github/workflows/check-links.yaml | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/.github/workflows/check-links.yaml b/.github/workflows/check-links.yaml index 34a8a6e..dec92b0 100644 --- a/.github/workflows/check-links.yaml +++ b/.github/workflows/check-links.yaml @@ -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 \ No newline at end of file + uses: NIGMS/NIGMS-Sandbox-Repository-Template/.github/workflows/check-links.yaml@reusable_workflow \ No newline at end of file