testing additions whenever the script is not in the directory #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
run: | | ||
Check failure on line 26 in .github/workflows/check-links.yaml GitHub Actions / Check LinksInvalid workflow file
|
||
echo ${{jobs.link_check.uses}} | ||
- name: Link Check | ||
run: | | ||
python3 ${{github.action_path}}/check_links.py | ||
env: | ||
LINK_IGNORE_LIST: https://www.sciencedirect.com,https://portlandpress.com | ||
PAT: ${{ secrets.PAT }} |