From e662cdcae08204220fcaec8fe968d844c7518e2f Mon Sep 17 00:00:00 2001 From: John Turner Date: Fri, 6 Sep 2024 13:21:59 -0400 Subject: [PATCH] added linting and link_checks from resuable workflows --- .github/workflows/check-links.yaml | 13 +++++++++++++ .github/workflows/notebook-lint.yaml | 14 ++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 .github/workflows/check-links.yaml create mode 100644 .github/workflows/notebook-lint.yaml diff --git a/.github/workflows/check-links.yaml b/.github/workflows/check-links.yaml new file mode 100644 index 0000000..166bb1c --- /dev/null +++ b/.github/workflows/check-links.yaml @@ -0,0 +1,13 @@ +name: 'Check Links' +on: + push: + pull_request: + workflow_dispatch: + + +jobs: + link_check: + name: 'Link Check' + uses: NIGMS/NIGMS-Sandbox/.github/workflows/check-links.yaml@main + with: + repo_link_ignore_list: "" \ No newline at end of file diff --git a/.github/workflows/notebook-lint.yaml b/.github/workflows/notebook-lint.yaml new file mode 100644 index 0000000..2038a72 --- /dev/null +++ b/.github/workflows/notebook-lint.yaml @@ -0,0 +1,14 @@ +name: 'Lint Notebook' +on: + push: + workflow_dispatch: +permissions: + contents: write + id-token: write + +jobs: + lint: + name: 'Linting' + uses: NIGMS/NIGMS-Sandbox/.github/workflows/notebook-lint.yaml@main + with: + directory: .