Skip to content

Commit

Permalink
ci: Last attempt to fix dependabot failure to resolve "Slicer/jinja2-…
Browse files Browse the repository at this point in the history
…action" version

This is expected to address the following error introduced in 5abe070 ("fix: Use Slicer fork of jinja2-action to fix Poetry 2.0 breaking change", 2025-01-08)

> Dependabot could not find a dependency version.
> Dependabot could not resolve semantic versions for dependencies : Slicer/jinja2-action

Instead of either listing "Slicer/jinja2-action" as dependency to ignore in `dependatbot.yml`
or adding comment including multiple strings, this commit switches to a version
tagged and released explicitly within the "Slicer/jinja2-action" project.
  • Loading branch information
jcfr committed Jan 8, 2025
1 parent 93676ce commit 36f5ac4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,31 +94,31 @@ jobs:

- name: 'Evaluate download template [release_and_nightly]'
if: env.deploy_download_preview == 'true'
uses: Slicer/jinja2-action@d94dd73f31971ae95cb4cfee57236618c65ccb7f # slicer-2023-11-09-2ea7da6
uses: Slicer/jinja2-action@d94dd73f31971ae95cb4cfee57236618c65ccb7f # v1.2.3
with:
template: _site/download.html
data_file: _data/template_test_data/download_release_and_nightly.json
output_file: _site/download_release_and_nightly.html

- name: 'Evaluate download template [only_release]'
if: env.deploy_download_preview == 'true'
uses: Slicer/jinja2-action@d94dd73f31971ae95cb4cfee57236618c65ccb7f # slicer-2023-11-09-2ea7da6
uses: Slicer/jinja2-action@d94dd73f31971ae95cb4cfee57236618c65ccb7f # v1.2.3
with:
template: _site/download.html
data_file: _data/template_test_data/download_only_release.json
output_file: _site/download_only_release.html

- name: 'Evaluate download template [only_nightly]'
if: env.deploy_download_preview == 'true'
uses: Slicer/jinja2-action@d94dd73f31971ae95cb4cfee57236618c65ccb7f # slicer-2023-11-09-2ea7da6
uses: Slicer/jinja2-action@d94dd73f31971ae95cb4cfee57236618c65ccb7f # v1.2.3
with:
template: _site/download.html
data_file: _data/template_test_data/download_only_nightly.json
output_file: _site/download_only_nightly.html

- name: 'Evaluate download template [incomplete_releases]'
if: env.deploy_download_preview == 'true'
uses: Slicer/jinja2-action@d94dd73f31971ae95cb4cfee57236618c65ccb7f # slicer-2023-11-09-2ea7da6
uses: Slicer/jinja2-action@d94dd73f31971ae95cb4cfee57236618c65ccb7f # v1.2.3
with:
template: _site/download.html
data_file: _data/template_test_data/download_incomplete_releases.json
Expand Down

0 comments on commit 36f5ac4

Please sign in to comment.