Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/assemble-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:
contents: read
steps:
- name: Check out commit # Docs: https://github.com/actions/checkout
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Download all artifacts
uses: actions/download-artifact@v4 # Docs: https://github.com/actions/download-artifact
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: { path: artifacts }
# Note: We use the `-T` option of the `cp` command so that the source directory name does not
# get appended to the destination directory name. It's short for `--no-target-directory`.
Expand All @@ -59,7 +59,7 @@ jobs:
cp content/robots.txt _build/html/robots.txt
ls -R _build/html
- name: Save the result for publishing to GitHub Pages # Docs: https://github.com/actions/upload-pages-artifact
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: _build/html
# Note: The artifact name is "github-pages" by default; so, this specification is redundant. We include it
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
issues: write # required for peter-evans/create-issue-from-file
steps:
- name: Get website file tree
uses: actions/download-artifact@v4 # docs: https://github.com/actions/download-artifact
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: github-pages
path: _downloads
Expand All @@ -29,7 +29,7 @@ jobs:
# This step will populate `steps.lychee.outputs.exit_code` with the exit code returned by lychee.
# Reference: https://github.com/lycheeverse/lychee-action
id: lychee
uses: lycheeverse/lychee-action@v2
uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 # v2.8.0
with:
# Specify a Lychee version so the Lychee CLI options are always interpreted the same way,
# even if the Lychee developers introduce breaking changes in a new Lychee version.
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
# This step will only run if both (a) lychee returned a non-zero exit code and (b) we are on the `main` branch.
# Reference: https://docs.github.com/en/actions/learn-github-actions/variables#using-the-env-context-to-access-environment-variable-values
if: steps.lychee.outputs.exit_code != 0 && github.ref == 'refs/heads/main'
uses: peter-evans/create-issue-from-file@v5
uses: peter-evans/create-issue-from-file@fca9117c27cdc29c6c4db3b86c48e4115a786710 # v6.0.0
with:
title: Website file tree contains broken links
content-filepath: ./lychee/out.md
6 changes: 3 additions & 3 deletions .github/workflows/compile-home-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
contents: read
steps:
- name: Check out commit # Docs: https://github.com/actions/checkout
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python # Docs: https://github.com/actions/setup-python
uses: actions/setup-python@v5
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with: { python-version: '3.12' }
- name: Install Python dependencies
run: pip install -r requirements.txt
Expand All @@ -48,7 +48,7 @@ jobs:
}' | mkdocs build -f -
# Upload the result as an "artifact" so it can then be downloaded and used by another job.
- name: Save the HTML for publishing later # Docs: https://github.com/actions/upload-artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: home-docs-as-html
# Note: Relative `path` values here are relative to the _workspace_, not to the current working directory.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
# Reference: https://github.com/actions/deploy-pages
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0
with:
# Note: The artifact name is "github-pages" by default; so, this specification is redundant. We include it
# anyway, here, as a reminder for people that will be implementing workflows that consume the same
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/fetch-and-compile-runtime-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
steps:
# Docs: https://github.com/actions/checkout
- name: Check out commit
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Check out commit from `nmdc-runtime/main`
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
# Notes:
# - `repository` format is: "{owner_name}/{repo_name}"
Expand All @@ -27,7 +27,7 @@ jobs:
path: _clones/microbiomedata/nmdc-runtime # where, locally, to create the clone
# Docs: https://github.com/actions/setup-python
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with: { python-version: '3.12' }
- name: Install dependencies of `nmdc-runtime` docs
run: |
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
}' | mkdocs build -f -
# Upload the result as an "artifact" so it can then be downloaded and used by another job.
- name: Save the HTML for publishing later # Docs: https://github.com/actions/upload-artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: runtime-docs-as-html
# Note: Relative `path` values here are relative to the _workspace_, not to the current working directory.
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/fetch-and-compile-workflow-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
steps:
# Docs: https://github.com/actions/checkout
- name: Check out commit
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with: { python-version: '3.12' }
- name: Install dependencies of workflow documentation
run: |
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
run: sphinx-build --builder html /tmp/book/src ${{ github.workspace }}/_dist
# Upload the result as an "artifact" so it can then be downloaded and used by another job.
- name: Save the HTML for publishing later # Docs: https://github.com/actions/upload-artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: workflow-docs-as-html
# Note: Relative `path` values here are relative to the _workspace_, not to the current working directory.
Expand Down
Loading