File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 contents : read
4040 steps :
4141 - name : Check out commit # Docs: https://github.com/actions/checkout
42- uses : actions/checkout@v4
42+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4343 - name : Download all artifacts
44- uses : actions/download-artifact@v4 # Docs: https://github.com/actions/download-artifact
44+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
4545 with : { path: artifacts }
4646 # Note: We use the `-T` option of the `cp` command so that the source directory name does not
4747 # get appended to the destination directory name. It's short for `--no-target-directory`.
5959 cp content/robots.txt _build/html/robots.txt
6060 ls -R _build/html
6161 - name : Save the result for publishing to GitHub Pages # Docs: https://github.com/actions/upload-pages-artifact
62- uses : actions/upload-pages-artifact@v3
62+ uses : actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
6363 with :
6464 path : _build/html
6565 # Note: The artifact name is "github-pages" by default; so, this specification is redundant. We include it
Original file line number Diff line number Diff line change 1515 issues : write # required for peter-evans/create-issue-from-file
1616 steps :
1717 - name : Get website file tree
18- uses : actions/download-artifact@v4 # docs: https://github.com/actions/download-artifact
18+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
1919 with :
2020 name : github-pages
2121 path : _downloads
2929 # This step will populate `steps.lychee.outputs.exit_code` with the exit code returned by lychee.
3030 # Reference: https://github.com/lycheeverse/lychee-action
3131 id : lychee
32- uses : lycheeverse/lychee-action@v2
32+ uses : lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 # v2.8.0
3333 with :
3434 # Specify a Lychee version so the Lychee CLI options are always interpreted the same way,
3535 # even if the Lychee developers introduce breaking changes in a new Lychee version.
7171 # This step will only run if both (a) lychee returned a non-zero exit code and (b) we are on the `main` branch.
7272 # Reference: https://docs.github.com/en/actions/learn-github-actions/variables#using-the-env-context-to-access-environment-variable-values
7373 if : steps.lychee.outputs.exit_code != 0 && github.ref == 'refs/heads/main'
74- uses : peter-evans/create-issue-from-file@v5
74+ uses : peter-evans/create-issue-from-file@fca9117c27cdc29c6c4db3b86c48e4115a786710 # v6.0.0
7575 with :
7676 title : Website file tree contains broken links
7777 content-filepath : ./lychee/out.md
Original file line number Diff line number Diff line change 2323 contents : read
2424 steps :
2525 - name : Check out commit # Docs: https://github.com/actions/checkout
26- uses : actions/checkout@v4
26+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2727 - name : Set up Python # Docs: https://github.com/actions/setup-python
28- uses : actions/setup-python@v5
28+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2929 with : { python-version: '3.12' }
3030 - name : Install Python dependencies
3131 run : pip install -r requirements.txt
4848 }' | mkdocs build -f -
4949 # Upload the result as an "artifact" so it can then be downloaded and used by another job.
5050 - name : Save the HTML for publishing later # Docs: https://github.com/actions/upload-artifact
51- uses : actions/upload-artifact@v4
51+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
5252 with :
5353 name : home-docs-as-html
5454 # Note: Relative `path` values here are relative to the _workspace_, not to the current working directory.
Original file line number Diff line number Diff line change 3838 # Reference: https://github.com/actions/deploy-pages
3939 - name : Deploy to GitHub Pages
4040 id : deployment
41- uses : actions/deploy-pages@v4
41+ uses : actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0
4242 with :
4343 # Note: The artifact name is "github-pages" by default; so, this specification is redundant. We include it
4444 # anyway, here, as a reminder for people that will be implementing workflows that consume the same
Original file line number Diff line number Diff line change 1313 steps :
1414 # Docs: https://github.com/actions/checkout
1515 - name : Check out commit
16- uses : actions/checkout@v4
16+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1717 - name : Check out commit from `nmdc-runtime/main`
18- uses : actions/checkout@v4
18+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1919 with :
2020 # Notes:
2121 # - `repository` format is: "{owner_name}/{repo_name}"
2727 path : _clones/microbiomedata/nmdc-runtime # where, locally, to create the clone
2828 # Docs: https://github.com/actions/setup-python
2929 - name : Set up Python
30- uses : actions/setup-python@v5
30+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3131 with : { python-version: '3.12' }
3232 - name : Install dependencies of `nmdc-runtime` docs
3333 run : |
7171 }' | mkdocs build -f -
7272 # Upload the result as an "artifact" so it can then be downloaded and used by another job.
7373 - name : Save the HTML for publishing later # Docs: https://github.com/actions/upload-artifact
74- uses : actions/upload-artifact@v4
74+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
7575 with :
7676 name : runtime-docs-as-html
7777 # Note: Relative `path` values here are relative to the _workspace_, not to the current working directory.
Original file line number Diff line number Diff line change 1313 steps :
1414 # Docs: https://github.com/actions/checkout
1515 - name : Check out commit
16- uses : actions/checkout@v4
16+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1717 - name : Set up Python
18- uses : actions/setup-python@v5
18+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
1919 with : { python-version: '3.12' }
2020 - name : Install dependencies of workflow documentation
2121 run : |
4545 run : sphinx-build --builder html /tmp/book/src ${{ github.workspace }}/_dist
4646 # Upload the result as an "artifact" so it can then be downloaded and used by another job.
4747 - name : Save the HTML for publishing later # Docs: https://github.com/actions/upload-artifact
48- uses : actions/upload-artifact@v4
48+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
4949 with :
5050 name : workflow-docs-as-html
5151 # Note: Relative `path` values here are relative to the _workspace_, not to the current working directory.
You can’t perform that action at this time.
0 commit comments