Skip to content

Commit 0c4850c

Browse files
committed
fixed repo link and added ref
1 parent 7586285 commit 0c4850c

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Diff for: .github/workflows/check-links.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ jobs:
2222
- name: Checkout
2323
uses: actions/checkout@v4
2424
with:
25-
repository: NIGMS/NIGMS-Sandbox/.github/workflows/notebook-lint.yaml@main
25+
repository: NIGMS/NIGMS-Sandbox
2626
path: reusable-workflow-repo
27+
ref: reusable_workflow
2728

2829
- name: Link Check
2930
run: |

Diff for: .github/workflows/notebook-lint.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
- name: Checkout
2222
uses: actions/checkout@v4
2323
with:
24-
repository: NIGMS/NIGMS-Sandbox/.github/workflows/notebook-lint.yaml@main
24+
repository: NIGMS/NIGMS-Sandbox
25+
ref: reusable_workflow
2526
path: reusable-workflow-repo
2627

2728
- name: Set up Python
@@ -31,13 +32,13 @@ jobs:
3132
cache: 'pip'
3233

3334
- name: Install requirements.txt
34-
working-directory: ${GITHUB_WORKSPACE}/reusable-workflow-repo/.github/workflows/
35+
working-directory: reusable-workflow-repo/.github/workflows/
3536
run: |
3637
python3 -m pip install --upgrade pip
3738
pip3 install nbformat
3839
3940
- name: Notebook Linting
40-
working-directory: ${GITHUB_WORKSPACE}/reusable-workflow-repo/.github/workflows/
41+
working-directory: reusable-workflow-repo/.github/workflows/
4142
run: |
4243
python3 lint.py
4344

0 commit comments

Comments
 (0)