diff --git a/.github/workflows/check-links-self.yaml b/.github/workflows/check-links-self.yaml new file mode 100644 index 0000000..2c4b225 --- /dev/null +++ b/.github/workflows/check-links-self.yaml @@ -0,0 +1,12 @@ +name: 'Check Links' +on: + workflow_dispatch: + push: + pull_request: + +jobs: + link_check: + name: 'Link Check' + uses: STRIDES/NIHCloudLab/.github/workflows/check-links.yaml@main + with: + repo_link_ignore_list: "" diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml deleted file mode 100644 index 496d096..0000000 --- a/.github/workflows/check_links.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Check Links - -on: - push: - branches: - - '*' - pull_request: - branches: - - '*' -jobs: - link-check: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Run Link Checker - uses: mr8lu/link-validator@v1.0.1 - with: - directory: '.' # Adjust the directory as needed diff --git a/.github/workflows/notebook-lint-self.yaml b/.github/workflows/notebook-lint-self.yaml new file mode 100644 index 0000000..9688b9b --- /dev/null +++ b/.github/workflows/notebook-lint-self.yaml @@ -0,0 +1,14 @@ +name: 'Lint Notebook' +on: + push: + workflow_dispatch: +permissions: + contents: write + id-token: write + +jobs: + lint: + name: 'Linting' + uses: STRIDES/NIHCloudLab/.github/workflows/notebook-lint.yaml@main + with: + directory: .