Skip to content

Commit

Permalink
ci: Another attempt to fix dependabot failure to resolve "Slicer/jinj…
Browse files Browse the repository at this point in the history
…a2-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 listing "Slicer/jinja2-action" as dependency to ignore, this commit
changes the comment to include multiple strings and not only one version specifier.

For reference, see https://github.com/dependabot/dependabot-core/blob/e45d543f4556fa040f0b7add3b1184c9b15074fe/github_actions/lib/dependabot/github_actions/file_updater.rb#L88-L94
  • Loading branch information
jcfr committed Jan 8, 2025
1 parent b77c77f commit f2450cf
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 # see branch "slicer-2023-11-09-2ea7da6"
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 # see branch "slicer-2023-11-09-2ea7da6"
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 # see branch "slicer-2023-11-09-2ea7da6"
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 # see branch "slicer-2023-11-09-2ea7da6"
with:
template: _site/download.html
data_file: _data/template_test_data/download_incomplete_releases.json
Expand Down

0 comments on commit f2450cf

Please sign in to comment.