Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactoring to improve finite field reference manual #1810

Closed
malb opened this issue Jan 17, 2008 · 10 comments
Closed

refactoring to improve finite field reference manual #1810

malb opened this issue Jan 17, 2008 · 10 comments

Comments

@malb
Copy link
Member

malb commented Jan 17, 2008

The patch removes FiniteField_prime_modn from finite_field.py because it was odd that this implementation was the only showing up in the reference manual. Also, GF is now defined in rings.all rather than in rings.finite_field to avoid that the documentation for it shows up twice. Finally, a more verbose description of the finite field module is given at the top of the finite_field.py file and some doctests were added to FiniteField_prime_modn.

Component: documentation

Issue created by migration from https://trac.sagemath.org/ticket/1810

@malb malb added this to the sage-2.10.3 milestone Jan 17, 2008
@malb
Copy link
Member Author

malb commented Jan 17, 2008

Attachment: finite_field_refactor_doc.patch.gz

@mwhansen
Copy link
Contributor

comment:1

I get the following on a clean 2.10.2 install:

applying /home/mike/Desktop/finite_field_refactor_doc.patch
patching file sage/rings/finite_field.py
Hunk #1 succeeded at 1 with fuzz 2 (offset -2 lines).
Hunk #5 FAILED at 147
1 out of 13 hunks FAILED -- saving rejects to file sage/rings/finite_field.py.rej
abort: unable to find sage/rings/padics/eisenstein_extension_generic_element.py or sage/rings/padics/eisenstein_extension_generic_element.py for patching

@malb
Copy link
Member Author

malb commented Feb 27, 2008

comment:2

I am rebasing right now. make test is running and looking good. Then, I'm afraid I'll have to check if I can apply the patch against 2.10.3.alpha0.

@malb
Copy link
Member Author

malb commented Feb 27, 2008

rebased against 2.10.2

@malb
Copy link
Member Author

malb commented Feb 27, 2008

Attachment: finite_field_refactor_doc.2.patch.gz

rebased against 2.10.3.alpha3

@malb
Copy link
Member Author

malb commented Feb 28, 2008

Attachment: finite_field_refactor_doc.3.patch.gz

add this on top of the 2.10.3.alpha0 patch, I forgot to hg add a file

@malb
Copy link
Member Author

malb commented Feb 28, 2008

comment:3

Attachment: gfp.patch.gz

Add gfp.patch on top of finite_field_refactor_doc.3.patch, I forgot to hg add finite_field_prime_modn.py

@malb
Copy link
Member Author

malb commented Feb 28, 2008

comment:4

Attachment: guava_fix.patch.gz

guava_fix.patch needs also to be applied after the other patches

@mwhansen
Copy link
Contributor

comment:5

Applies cleanly to 2.10.3.alpha0 and passes tests for me.

To apply the patch, do the following,

  1. Apply finite_field_refactor_doc.3.patch

  2. Apply gfp.patch

  3. hg add finite_field_prime_modn.py

  4. Apply guava_fix.patch

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Mar 2, 2008

comment:6

Merged finite_field_refactor_doc.3.patch, gfp.patch and guava_fix.patch in Sage 2.10.3.rc1

@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed Mar 2, 2008
vbraun pushed a commit to vbraun/sage that referenced this issue Jan 16, 2024
….github/workflows

    
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-
files) from 38 to 41.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tj-actions/changed-
files/releases">tj-actions/changed-files's releases</a>.</em></p>
<blockquote>
<h2>v41</h2>
<h1>Changes in v41.0.1</h1>
<h2>What's Changed</h2>
<ul>
<li>Upgraded to v41 by <a href="https://github.com/tj-actions-
bot"><code>@​tj-actions-bot</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1811">tj-actions/changed-files#1811</a></li>
<li>chore(deps): update dependency eslint-plugin-prettier to v5.1.2 by
<a href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1813">tj-actions/changed-files#1813</a></li>
<li>fix: update characters escaped by safe output by <a
href="https://github.com/jackton1"><code>@​jackton1</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1815">tj-actions/changed-files#1815</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/tj-
actions/changed-files/compare/v41...v41.0.1">https://github.com/tj-
actions/changed-files/compare/v41...v41.0.1</a></p>
<hr />
<h1>Changes in v41.0.0</h1>
<h2>🔥 🔥 BREAKING CHANGE 🔥 🔥</h2>
<p>A new <code>safe_output</code> input is now available to prevent
outputting unsafe filename characters (Enabled by default). This would
escape characters in the filename that could be used for command
injection.</p>
<blockquote>
<p>[!NOTE]
This can be disabled by setting the <code>safe_output</code> to false
this comes with a recommendation to store all outputs generated in an
environment variable first before using them.</p>
</blockquote>
<h4>Example</h4>
<pre lang="yaml"><code>...
    - name: Get changed files
      id: changed-files
      uses: tj-actions/changed-files@v40
      with:
        safe_output: false # set to false because we are using an
environment variable to store the output and avoid command injection.
<pre><code>- name: List all added files
  env:
    ADDED_FILES: ${{ steps.changed-files.outputs.added_files }}
  run: |
    for file in &amp;quot;$ADDED_FILES&amp;quot;; do
      echo &amp;quot;$file was added&amp;quot;
    done
</code></pre>
<p>...
</code></pre></p>
<h2>What's Changed</h2>
<ul>
<li>chore(deps): update typescript-eslint monorepo to v6.15.0 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1801">tj-actions/changed-files#1801</a></li>
<li>Upgraded to v40.2.3 by <a href="https://github.com/tj-actions-
bot"><code>@​tj-actions-bot</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1800">tj-actions/changed-files#1800</a></li>
<li>chore(deps): update dependency eslint-plugin-prettier to v5.1.0 by
<a href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1802">tj-actions/changed-files#1802</a></li>
<li>chore(deps): lock file maintenance by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1803">tj-actions/changed-files#1803</a></li>
<li>chore(deps): update dependency eslint-plugin-prettier to v5.1.1 by
<a href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1804">tj-actions/changed-files#1804</a></li>
<li>fix: update safe output regex and the docs by <a
href="https://github.com/tj-actions-bot"><code>@​tj-actions-
bot</code></a> in <a href="https://github.com/tj-
actions/changed-files/pull/1805">tj-actions/changed-files#1805</a></li>
<li>Revert &quot;chore(deps): update actions/download-artifact action to
v4&quot; by <a
href="https://github.com/jackton1"><code>@​jackton1</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1806">tj-actions/changed-files#1806</a></li>
<li>Update README.md by <a
href="https://github.com/jackton1"><code>@​jackton1</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1808">tj-actions/changed-files#1808</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/tj-actions/changed-
files/blob/main/HISTORY.md">tj-actions/changed-files's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h1><a href="https://github.com/tj-actions/changed-
files/compare/v41.0.0...v41.0.1">41.0.1</a> - (2023-12-24)</h1>
<h2><!-- raw HTML omitted -->🐛 Bug Fixes</h2>
<ul>
<li>Update characters escaped by safe output (<a
href="https://github.com/tj-actions/changed-
files/issues/1815">sagemath#1815</a>) (<a href="https://github.com/tj-
actions/changed-
files/commit/716b1e13042866565e00e85fd4ec490e186c4a2f">716b1e1</a>)  -
(Tonye Jack)</li>
</ul>
<h2><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h2>
<ul>
<li><strong>deps:</strong> Update dependency eslint-plugin-prettier to
v5.1.2 (<a href="https://github.com/tj-actions/changed-
files/commit/7aaf10d9eef19e8a2432a967b88124171152caaf">7aaf10d</a>)  -
(renovate[bot])</li>
</ul>
<h2><!-- raw HTML omitted -->⬆️ Upgrades</h2>
<ul>
<li>Upgraded to v41 (<a href="https://github.com/tj-
actions/changed-files/issues/1811">sagemath#1811</a>)</li>
</ul>
<p>Co-authored-by: jackton1 <a href="mailto:jackton1@users.noreply.githu
b.com">jackton1@users.noreply.github.com</a> (<a
href="https://github.com/tj-actions/changed-
files/commit/cc08e170f4447237bcaf8acaacfa615b9cb86612">cc08e17</a>)  -
(tj-actions[bot])</p>
<h1><a href="https://github.com/tj-actions/changed-
files/compare/v40.2.3...v41.0.0">41.0.0</a> - (2023-12-23)</h1>
<h2><!-- raw HTML omitted -->🐛 Bug Fixes</h2>
<ul>
<li>Update safe output regex and the docs (<a
href="https://github.com/tj-actions/changed-
files/issues/1805">sagemath#1805</a>) (<a href="https://github.com/tj-
actions/changed-
files/commit/ff2f6e6b91913a7be42be1b5917330fe442f2ede">ff2f6e6</a>)  -
(tj-actions[bot])</li>
</ul>
<h2><!-- raw HTML omitted -->⏪ Reverts</h2>
<ul>
<li>Revert &quot;chore(deps): update actions/download-artifact action to
v4&quot; (<a href="https://github.com/tj-actions/changed-
files/issues/1806">sagemath#1806</a>)</li>
</ul>
<p>(<a href="https://github.com/tj-actions/changed-
files/commit/4f573fed06c9abb5da4c72f75c1c320718114ff7">4f573fe</a>)  -
(Tonye Jack)</p>
<h2><!-- raw HTML omitted -->🔄 Update</h2>
<ul>
<li>Update README.md (<a href="https://github.com/tj-actions/changed-
files/commit/6e79d6e3dbe48946636c2939c80ff5c84ff7f9fe">6e79d6e</a>)  -
(Tonye Jack)</li>
<li>Update README.md (<a href="https://github.com/tj-actions/changed-
files/commit/d13ac1942fb3c1d7d32017915bb082cebe8a272a">d13ac19</a>)  -
(Tonye Jack)</li>
<li>Update README.md (<a href="https://github.com/tj-actions/changed-
files/commit/bb89f97963be96b39e1a303e64d5b91a1af4c340">bb89f97</a>)  -
(Tonye Jack)</li>
<li>Updated README.md (<a href="https://github.com/tj-
actions/changed-files/issues/1810">sagemath#1810</a>)</li>
</ul>
<p>Co-authored-by: renovate[bot] <!-- raw HTML omitted --> (<a
href="https://github.com/tj-actions/changed-
files/commit/1864078d0afadf68ba489e671ecc09fefe8b70ab">1864078</a>)  -
(tj-actions[bot])</p>
<ul>
<li>Update README.md (<a href="https://github.com/tj-
actions/changed-files/issues/1808">sagemath#1808</a>)</li>
</ul>
<p>(<a href="https://github.com/tj-actions/changed-
files/commit/47371c50e97c089212d9eb92ca26c8453224e78e">47371c5</a>)  -
(Tonye Jack)</p>
<h2><!-- raw HTML omitted -->📝 Other</h2>
<ul>
<li>Merge pull request from GHSA-mcph-m25j-8j63</li>
</ul>
<ul>
<li>
<p>feat: add <code>safe_output</code> input enabled by default</p>
</li>
<li>
<p>fix: migrate README to safe uses of interpolation</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="tj-actions/changed-files@716b1e13
042866565e00e85fd4ec490e186c4a2f"><code>716b1e1</code></a> fix: update
characters escaped by safe output (<a
href="https://github.com/tj-actions/changed-
files/issues/1815">sagemath#1815</a>)</li>
<li><a href="tj-actions/changed-files@7aaf10d9
eef19e8a2432a967b88124171152caaf"><code>7aaf10d</code></a> chore(deps):
update dependency eslint-plugin-prettier to v5.1.2</li>
<li><a href="tj-actions/changed-files@cc08e170
f4447237bcaf8acaacfa615b9cb86612"><code>cc08e17</code></a> Upgraded to
v41 (<a href="https://github.com/tj-actions/changed-
files/issues/1811">sagemath#1811</a>)</li>
<li><a href="tj-actions/changed-files@6e79d6e3
dbe48946636c2939c80ff5c84ff7f9fe"><code>6e79d6e</code></a> Update
README.md</li>
<li><a href="tj-actions/changed-files@d13ac194
2fb3c1d7d32017915bb082cebe8a272a"><code>d13ac19</code></a> Update
README.md</li>
<li><a href="tj-actions/changed-files@bb89f979
63be96b39e1a303e64d5b91a1af4c340"><code>bb89f97</code></a> Update
README.md</li>
<li><a href="tj-actions/changed-files@1864078d
0afadf68ba489e671ecc09fefe8b70ab"><code>1864078</code></a> Updated
README.md (<a href="https://github.com/tj-actions/changed-
files/issues/1810">sagemath#1810</a>)</li>
<li><a href="tj-actions/changed-files@f495a032
1d3fffa62da2573adf70b77d5eb2f57a"><code>f495a03</code></a> chore(deps):
lock file maintenance</li>
<li><a href="tj-actions/changed-files@47371c50
e97c089212d9eb92ca26c8453224e78e"><code>47371c5</code></a> Update
README.md (<a href="https://github.com/tj-actions/changed-
files/issues/1808">sagemath#1808</a>)</li>
<li><a href="tj-actions/changed-files@4f573fed
06c9abb5da4c72f75c1c320718114ff7"><code>4f573fe</code></a> Revert
&quot;chore(deps): update actions/download-artifact action to v4&quot;
(<a href="https://github.com/tj-actions/changed-
files/issues/1806">sagemath#1806</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/tj-
actions/changed-files/compare/v38...v41">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-
badges.githubapp.com/badges/compatibility_score?dependency-name=tj-
actions/changed-files&package-manager=github_actions&previous-
version=38&new-version=41)](https://docs.github.com/en/github/managing-
security-vulnerabilities/about-dependabot-security-updates#about-
compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts page](https://github.com/sagemath/sage/network/alerts).

</details>
    
URL: sagemath#37048
Reported by: dependabot[bot]
Reviewer(s): Frédéric Chapoton
vbraun pushed a commit to vbraun/sage that referenced this issue Jan 16, 2024
….github/workflows

    
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-
files) from 38 to 41.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tj-actions/changed-
files/releases">tj-actions/changed-files's releases</a>.</em></p>
<blockquote>
<h2>v41</h2>
<h1>Changes in v41.0.1</h1>
<h2>What's Changed</h2>
<ul>
<li>Upgraded to v41 by <a href="https://github.com/tj-actions-
bot"><code>@​tj-actions-bot</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1811">tj-actions/changed-files#1811</a></li>
<li>chore(deps): update dependency eslint-plugin-prettier to v5.1.2 by
<a href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1813">tj-actions/changed-files#1813</a></li>
<li>fix: update characters escaped by safe output by <a
href="https://github.com/jackton1"><code>@​jackton1</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1815">tj-actions/changed-files#1815</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/tj-
actions/changed-files/compare/v41...v41.0.1">https://github.com/tj-
actions/changed-files/compare/v41...v41.0.1</a></p>
<hr />
<h1>Changes in v41.0.0</h1>
<h2>🔥 🔥 BREAKING CHANGE 🔥 🔥</h2>
<p>A new <code>safe_output</code> input is now available to prevent
outputting unsafe filename characters (Enabled by default). This would
escape characters in the filename that could be used for command
injection.</p>
<blockquote>
<p>[!NOTE]
This can be disabled by setting the <code>safe_output</code> to false
this comes with a recommendation to store all outputs generated in an
environment variable first before using them.</p>
</blockquote>
<h4>Example</h4>
<pre lang="yaml"><code>...
    - name: Get changed files
      id: changed-files
      uses: tj-actions/changed-files@v40
      with:
        safe_output: false # set to false because we are using an
environment variable to store the output and avoid command injection.
<pre><code>- name: List all added files
  env:
    ADDED_FILES: ${{ steps.changed-files.outputs.added_files }}
  run: |
    for file in &amp;quot;$ADDED_FILES&amp;quot;; do
      echo &amp;quot;$file was added&amp;quot;
    done
</code></pre>
<p>...
</code></pre></p>
<h2>What's Changed</h2>
<ul>
<li>chore(deps): update typescript-eslint monorepo to v6.15.0 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1801">tj-actions/changed-files#1801</a></li>
<li>Upgraded to v40.2.3 by <a href="https://github.com/tj-actions-
bot"><code>@​tj-actions-bot</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1800">tj-actions/changed-files#1800</a></li>
<li>chore(deps): update dependency eslint-plugin-prettier to v5.1.0 by
<a href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1802">tj-actions/changed-files#1802</a></li>
<li>chore(deps): lock file maintenance by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1803">tj-actions/changed-files#1803</a></li>
<li>chore(deps): update dependency eslint-plugin-prettier to v5.1.1 by
<a href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1804">tj-actions/changed-files#1804</a></li>
<li>fix: update safe output regex and the docs by <a
href="https://github.com/tj-actions-bot"><code>@​tj-actions-
bot</code></a> in <a href="https://github.com/tj-
actions/changed-files/pull/1805">tj-actions/changed-files#1805</a></li>
<li>Revert &quot;chore(deps): update actions/download-artifact action to
v4&quot; by <a
href="https://github.com/jackton1"><code>@​jackton1</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1806">tj-actions/changed-files#1806</a></li>
<li>Update README.md by <a
href="https://github.com/jackton1"><code>@​jackton1</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1808">tj-actions/changed-files#1808</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/tj-actions/changed-
files/blob/main/HISTORY.md">tj-actions/changed-files's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h1><a href="https://github.com/tj-actions/changed-
files/compare/v41.0.0...v41.0.1">41.0.1</a> - (2023-12-24)</h1>
<h2><!-- raw HTML omitted -->🐛 Bug Fixes</h2>
<ul>
<li>Update characters escaped by safe output (<a
href="https://github.com/tj-actions/changed-
files/issues/1815">sagemath#1815</a>) (<a href="https://github.com/tj-
actions/changed-
files/commit/716b1e13042866565e00e85fd4ec490e186c4a2f">716b1e1</a>)  -
(Tonye Jack)</li>
</ul>
<h2><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h2>
<ul>
<li><strong>deps:</strong> Update dependency eslint-plugin-prettier to
v5.1.2 (<a href="https://github.com/tj-actions/changed-
files/commit/7aaf10d9eef19e8a2432a967b88124171152caaf">7aaf10d</a>)  -
(renovate[bot])</li>
</ul>
<h2><!-- raw HTML omitted -->⬆️ Upgrades</h2>
<ul>
<li>Upgraded to v41 (<a href="https://github.com/tj-
actions/changed-files/issues/1811">sagemath#1811</a>)</li>
</ul>
<p>Co-authored-by: jackton1 <a href="mailto:jackton1@users.noreply.githu
b.com">jackton1@users.noreply.github.com</a> (<a
href="https://github.com/tj-actions/changed-
files/commit/cc08e170f4447237bcaf8acaacfa615b9cb86612">cc08e17</a>)  -
(tj-actions[bot])</p>
<h1><a href="https://github.com/tj-actions/changed-
files/compare/v40.2.3...v41.0.0">41.0.0</a> - (2023-12-23)</h1>
<h2><!-- raw HTML omitted -->🐛 Bug Fixes</h2>
<ul>
<li>Update safe output regex and the docs (<a
href="https://github.com/tj-actions/changed-
files/issues/1805">sagemath#1805</a>) (<a href="https://github.com/tj-
actions/changed-
files/commit/ff2f6e6b91913a7be42be1b5917330fe442f2ede">ff2f6e6</a>)  -
(tj-actions[bot])</li>
</ul>
<h2><!-- raw HTML omitted -->⏪ Reverts</h2>
<ul>
<li>Revert &quot;chore(deps): update actions/download-artifact action to
v4&quot; (<a href="https://github.com/tj-actions/changed-
files/issues/1806">sagemath#1806</a>)</li>
</ul>
<p>(<a href="https://github.com/tj-actions/changed-
files/commit/4f573fed06c9abb5da4c72f75c1c320718114ff7">4f573fe</a>)  -
(Tonye Jack)</p>
<h2><!-- raw HTML omitted -->🔄 Update</h2>
<ul>
<li>Update README.md (<a href="https://github.com/tj-actions/changed-
files/commit/6e79d6e3dbe48946636c2939c80ff5c84ff7f9fe">6e79d6e</a>)  -
(Tonye Jack)</li>
<li>Update README.md (<a href="https://github.com/tj-actions/changed-
files/commit/d13ac1942fb3c1d7d32017915bb082cebe8a272a">d13ac19</a>)  -
(Tonye Jack)</li>
<li>Update README.md (<a href="https://github.com/tj-actions/changed-
files/commit/bb89f97963be96b39e1a303e64d5b91a1af4c340">bb89f97</a>)  -
(Tonye Jack)</li>
<li>Updated README.md (<a href="https://github.com/tj-
actions/changed-files/issues/1810">sagemath#1810</a>)</li>
</ul>
<p>Co-authored-by: renovate[bot] <!-- raw HTML omitted --> (<a
href="https://github.com/tj-actions/changed-
files/commit/1864078d0afadf68ba489e671ecc09fefe8b70ab">1864078</a>)  -
(tj-actions[bot])</p>
<ul>
<li>Update README.md (<a href="https://github.com/tj-
actions/changed-files/issues/1808">sagemath#1808</a>)</li>
</ul>
<p>(<a href="https://github.com/tj-actions/changed-
files/commit/47371c50e97c089212d9eb92ca26c8453224e78e">47371c5</a>)  -
(Tonye Jack)</p>
<h2><!-- raw HTML omitted -->📝 Other</h2>
<ul>
<li>Merge pull request from GHSA-mcph-m25j-8j63</li>
</ul>
<ul>
<li>
<p>feat: add <code>safe_output</code> input enabled by default</p>
</li>
<li>
<p>fix: migrate README to safe uses of interpolation</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="tj-actions/changed-files@716b1e13
042866565e00e85fd4ec490e186c4a2f"><code>716b1e1</code></a> fix: update
characters escaped by safe output (<a
href="https://github.com/tj-actions/changed-
files/issues/1815">sagemath#1815</a>)</li>
<li><a href="tj-actions/changed-files@7aaf10d9
eef19e8a2432a967b88124171152caaf"><code>7aaf10d</code></a> chore(deps):
update dependency eslint-plugin-prettier to v5.1.2</li>
<li><a href="tj-actions/changed-files@cc08e170
f4447237bcaf8acaacfa615b9cb86612"><code>cc08e17</code></a> Upgraded to
v41 (<a href="https://github.com/tj-actions/changed-
files/issues/1811">sagemath#1811</a>)</li>
<li><a href="tj-actions/changed-files@6e79d6e3
dbe48946636c2939c80ff5c84ff7f9fe"><code>6e79d6e</code></a> Update
README.md</li>
<li><a href="tj-actions/changed-files@d13ac194
2fb3c1d7d32017915bb082cebe8a272a"><code>d13ac19</code></a> Update
README.md</li>
<li><a href="tj-actions/changed-files@bb89f979
63be96b39e1a303e64d5b91a1af4c340"><code>bb89f97</code></a> Update
README.md</li>
<li><a href="tj-actions/changed-files@1864078d
0afadf68ba489e671ecc09fefe8b70ab"><code>1864078</code></a> Updated
README.md (<a href="https://github.com/tj-actions/changed-
files/issues/1810">sagemath#1810</a>)</li>
<li><a href="tj-actions/changed-files@f495a032
1d3fffa62da2573adf70b77d5eb2f57a"><code>f495a03</code></a> chore(deps):
lock file maintenance</li>
<li><a href="tj-actions/changed-files@47371c50
e97c089212d9eb92ca26c8453224e78e"><code>47371c5</code></a> Update
README.md (<a href="https://github.com/tj-actions/changed-
files/issues/1808">sagemath#1808</a>)</li>
<li><a href="tj-actions/changed-files@4f573fed
06c9abb5da4c72f75c1c320718114ff7"><code>4f573fe</code></a> Revert
&quot;chore(deps): update actions/download-artifact action to v4&quot;
(<a href="https://github.com/tj-actions/changed-
files/issues/1806">sagemath#1806</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/tj-
actions/changed-files/compare/v38...v41">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-
badges.githubapp.com/badges/compatibility_score?dependency-name=tj-
actions/changed-files&package-manager=github_actions&previous-
version=38&new-version=41)](https://docs.github.com/en/github/managing-
security-vulnerabilities/about-dependabot-security-updates#about-
compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts page](https://github.com/sagemath/sage/network/alerts).

</details>
    
URL: sagemath#37048
Reported by: dependabot[bot]
Reviewer(s): Frédéric Chapoton
vbraun pushed a commit to vbraun/sage that referenced this issue Jan 16, 2024
….github/workflows

    
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-
files) from 38 to 41.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tj-actions/changed-
files/releases">tj-actions/changed-files's releases</a>.</em></p>
<blockquote>
<h2>v41</h2>
<h1>Changes in v41.0.1</h1>
<h2>What's Changed</h2>
<ul>
<li>Upgraded to v41 by <a href="https://github.com/tj-actions-
bot"><code>@​tj-actions-bot</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1811">tj-actions/changed-files#1811</a></li>
<li>chore(deps): update dependency eslint-plugin-prettier to v5.1.2 by
<a href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1813">tj-actions/changed-files#1813</a></li>
<li>fix: update characters escaped by safe output by <a
href="https://github.com/jackton1"><code>@​jackton1</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1815">tj-actions/changed-files#1815</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/tj-
actions/changed-files/compare/v41...v41.0.1">https://github.com/tj-
actions/changed-files/compare/v41...v41.0.1</a></p>
<hr />
<h1>Changes in v41.0.0</h1>
<h2>🔥 🔥 BREAKING CHANGE 🔥 🔥</h2>
<p>A new <code>safe_output</code> input is now available to prevent
outputting unsafe filename characters (Enabled by default). This would
escape characters in the filename that could be used for command
injection.</p>
<blockquote>
<p>[!NOTE]
This can be disabled by setting the <code>safe_output</code> to false
this comes with a recommendation to store all outputs generated in an
environment variable first before using them.</p>
</blockquote>
<h4>Example</h4>
<pre lang="yaml"><code>...
    - name: Get changed files
      id: changed-files
      uses: tj-actions/changed-files@v40
      with:
        safe_output: false # set to false because we are using an
environment variable to store the output and avoid command injection.
<pre><code>- name: List all added files
  env:
    ADDED_FILES: ${{ steps.changed-files.outputs.added_files }}
  run: |
    for file in &amp;quot;$ADDED_FILES&amp;quot;; do
      echo &amp;quot;$file was added&amp;quot;
    done
</code></pre>
<p>...
</code></pre></p>
<h2>What's Changed</h2>
<ul>
<li>chore(deps): update typescript-eslint monorepo to v6.15.0 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1801">tj-actions/changed-files#1801</a></li>
<li>Upgraded to v40.2.3 by <a href="https://github.com/tj-actions-
bot"><code>@​tj-actions-bot</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1800">tj-actions/changed-files#1800</a></li>
<li>chore(deps): update dependency eslint-plugin-prettier to v5.1.0 by
<a href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1802">tj-actions/changed-files#1802</a></li>
<li>chore(deps): lock file maintenance by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1803">tj-actions/changed-files#1803</a></li>
<li>chore(deps): update dependency eslint-plugin-prettier to v5.1.1 by
<a href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1804">tj-actions/changed-files#1804</a></li>
<li>fix: update safe output regex and the docs by <a
href="https://github.com/tj-actions-bot"><code>@​tj-actions-
bot</code></a> in <a href="https://github.com/tj-
actions/changed-files/pull/1805">tj-actions/changed-files#1805</a></li>
<li>Revert &quot;chore(deps): update actions/download-artifact action to
v4&quot; by <a
href="https://github.com/jackton1"><code>@​jackton1</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1806">tj-actions/changed-files#1806</a></li>
<li>Update README.md by <a
href="https://github.com/jackton1"><code>@​jackton1</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1808">tj-actions/changed-files#1808</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/tj-actions/changed-
files/blob/main/HISTORY.md">tj-actions/changed-files's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h1><a href="https://github.com/tj-actions/changed-
files/compare/v41.0.0...v41.0.1">41.0.1</a> - (2023-12-24)</h1>
<h2><!-- raw HTML omitted -->🐛 Bug Fixes</h2>
<ul>
<li>Update characters escaped by safe output (<a
href="https://github.com/tj-actions/changed-
files/issues/1815">sagemath#1815</a>) (<a href="https://github.com/tj-
actions/changed-
files/commit/716b1e13042866565e00e85fd4ec490e186c4a2f">716b1e1</a>)  -
(Tonye Jack)</li>
</ul>
<h2><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h2>
<ul>
<li><strong>deps:</strong> Update dependency eslint-plugin-prettier to
v5.1.2 (<a href="https://github.com/tj-actions/changed-
files/commit/7aaf10d9eef19e8a2432a967b88124171152caaf">7aaf10d</a>)  -
(renovate[bot])</li>
</ul>
<h2><!-- raw HTML omitted -->⬆️ Upgrades</h2>
<ul>
<li>Upgraded to v41 (<a href="https://github.com/tj-
actions/changed-files/issues/1811">sagemath#1811</a>)</li>
</ul>
<p>Co-authored-by: jackton1 <a href="mailto:jackton1@users.noreply.githu
b.com">jackton1@users.noreply.github.com</a> (<a
href="https://github.com/tj-actions/changed-
files/commit/cc08e170f4447237bcaf8acaacfa615b9cb86612">cc08e17</a>)  -
(tj-actions[bot])</p>
<h1><a href="https://github.com/tj-actions/changed-
files/compare/v40.2.3...v41.0.0">41.0.0</a> - (2023-12-23)</h1>
<h2><!-- raw HTML omitted -->🐛 Bug Fixes</h2>
<ul>
<li>Update safe output regex and the docs (<a
href="https://github.com/tj-actions/changed-
files/issues/1805">sagemath#1805</a>) (<a href="https://github.com/tj-
actions/changed-
files/commit/ff2f6e6b91913a7be42be1b5917330fe442f2ede">ff2f6e6</a>)  -
(tj-actions[bot])</li>
</ul>
<h2><!-- raw HTML omitted -->⏪ Reverts</h2>
<ul>
<li>Revert &quot;chore(deps): update actions/download-artifact action to
v4&quot; (<a href="https://github.com/tj-actions/changed-
files/issues/1806">sagemath#1806</a>)</li>
</ul>
<p>(<a href="https://github.com/tj-actions/changed-
files/commit/4f573fed06c9abb5da4c72f75c1c320718114ff7">4f573fe</a>)  -
(Tonye Jack)</p>
<h2><!-- raw HTML omitted -->🔄 Update</h2>
<ul>
<li>Update README.md (<a href="https://github.com/tj-actions/changed-
files/commit/6e79d6e3dbe48946636c2939c80ff5c84ff7f9fe">6e79d6e</a>)  -
(Tonye Jack)</li>
<li>Update README.md (<a href="https://github.com/tj-actions/changed-
files/commit/d13ac1942fb3c1d7d32017915bb082cebe8a272a">d13ac19</a>)  -
(Tonye Jack)</li>
<li>Update README.md (<a href="https://github.com/tj-actions/changed-
files/commit/bb89f97963be96b39e1a303e64d5b91a1af4c340">bb89f97</a>)  -
(Tonye Jack)</li>
<li>Updated README.md (<a href="https://github.com/tj-
actions/changed-files/issues/1810">sagemath#1810</a>)</li>
</ul>
<p>Co-authored-by: renovate[bot] <!-- raw HTML omitted --> (<a
href="https://github.com/tj-actions/changed-
files/commit/1864078d0afadf68ba489e671ecc09fefe8b70ab">1864078</a>)  -
(tj-actions[bot])</p>
<ul>
<li>Update README.md (<a href="https://github.com/tj-
actions/changed-files/issues/1808">sagemath#1808</a>)</li>
</ul>
<p>(<a href="https://github.com/tj-actions/changed-
files/commit/47371c50e97c089212d9eb92ca26c8453224e78e">47371c5</a>)  -
(Tonye Jack)</p>
<h2><!-- raw HTML omitted -->📝 Other</h2>
<ul>
<li>Merge pull request from GHSA-mcph-m25j-8j63</li>
</ul>
<ul>
<li>
<p>feat: add <code>safe_output</code> input enabled by default</p>
</li>
<li>
<p>fix: migrate README to safe uses of interpolation</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="tj-actions/changed-files@716b1e13
042866565e00e85fd4ec490e186c4a2f"><code>716b1e1</code></a> fix: update
characters escaped by safe output (<a
href="https://github.com/tj-actions/changed-
files/issues/1815">sagemath#1815</a>)</li>
<li><a href="tj-actions/changed-files@7aaf10d9
eef19e8a2432a967b88124171152caaf"><code>7aaf10d</code></a> chore(deps):
update dependency eslint-plugin-prettier to v5.1.2</li>
<li><a href="tj-actions/changed-files@cc08e170
f4447237bcaf8acaacfa615b9cb86612"><code>cc08e17</code></a> Upgraded to
v41 (<a href="https://github.com/tj-actions/changed-
files/issues/1811">sagemath#1811</a>)</li>
<li><a href="tj-actions/changed-files@6e79d6e3
dbe48946636c2939c80ff5c84ff7f9fe"><code>6e79d6e</code></a> Update
README.md</li>
<li><a href="tj-actions/changed-files@d13ac194
2fb3c1d7d32017915bb082cebe8a272a"><code>d13ac19</code></a> Update
README.md</li>
<li><a href="tj-actions/changed-files@bb89f979
63be96b39e1a303e64d5b91a1af4c340"><code>bb89f97</code></a> Update
README.md</li>
<li><a href="tj-actions/changed-files@1864078d
0afadf68ba489e671ecc09fefe8b70ab"><code>1864078</code></a> Updated
README.md (<a href="https://github.com/tj-actions/changed-
files/issues/1810">sagemath#1810</a>)</li>
<li><a href="tj-actions/changed-files@f495a032
1d3fffa62da2573adf70b77d5eb2f57a"><code>f495a03</code></a> chore(deps):
lock file maintenance</li>
<li><a href="tj-actions/changed-files@47371c50
e97c089212d9eb92ca26c8453224e78e"><code>47371c5</code></a> Update
README.md (<a href="https://github.com/tj-actions/changed-
files/issues/1808">sagemath#1808</a>)</li>
<li><a href="tj-actions/changed-files@4f573fed
06c9abb5da4c72f75c1c320718114ff7"><code>4f573fe</code></a> Revert
&quot;chore(deps): update actions/download-artifact action to v4&quot;
(<a href="https://github.com/tj-actions/changed-
files/issues/1806">sagemath#1806</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/tj-
actions/changed-files/compare/v38...v41">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-
badges.githubapp.com/badges/compatibility_score?dependency-name=tj-
actions/changed-files&package-manager=github_actions&previous-
version=38&new-version=41)](https://docs.github.com/en/github/managing-
security-vulnerabilities/about-dependabot-security-updates#about-
compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts page](https://github.com/sagemath/sage/network/alerts).

</details>
    
URL: sagemath#37048
Reported by: dependabot[bot]
Reviewer(s): Frédéric Chapoton
vbraun pushed a commit to vbraun/sage that referenced this issue Jan 21, 2024
….github/workflows

    
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-
files) from 38 to 41.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tj-actions/changed-
files/releases">tj-actions/changed-files's releases</a>.</em></p>
<blockquote>
<h2>v41</h2>
<h1>Changes in v41.0.1</h1>
<h2>What's Changed</h2>
<ul>
<li>Upgraded to v41 by <a href="https://github.com/tj-actions-
bot"><code>@​tj-actions-bot</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1811">tj-actions/changed-files#1811</a></li>
<li>chore(deps): update dependency eslint-plugin-prettier to v5.1.2 by
<a href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1813">tj-actions/changed-files#1813</a></li>
<li>fix: update characters escaped by safe output by <a
href="https://github.com/jackton1"><code>@​jackton1</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1815">tj-actions/changed-files#1815</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/tj-
actions/changed-files/compare/v41...v41.0.1">https://github.com/tj-
actions/changed-files/compare/v41...v41.0.1</a></p>
<hr />
<h1>Changes in v41.0.0</h1>
<h2>🔥 🔥 BREAKING CHANGE 🔥 🔥</h2>
<p>A new <code>safe_output</code> input is now available to prevent
outputting unsafe filename characters (Enabled by default). This would
escape characters in the filename that could be used for command
injection.</p>
<blockquote>
<p>[!NOTE]
This can be disabled by setting the <code>safe_output</code> to false
this comes with a recommendation to store all outputs generated in an
environment variable first before using them.</p>
</blockquote>
<h4>Example</h4>
<pre lang="yaml"><code>...
    - name: Get changed files
      id: changed-files
      uses: tj-actions/changed-files@v40
      with:
        safe_output: false # set to false because we are using an
environment variable to store the output and avoid command injection.
<pre><code>- name: List all added files
  env:
    ADDED_FILES: ${{ steps.changed-files.outputs.added_files }}
  run: |
    for file in &amp;quot;$ADDED_FILES&amp;quot;; do
      echo &amp;quot;$file was added&amp;quot;
    done
</code></pre>
<p>...
</code></pre></p>
<h2>What's Changed</h2>
<ul>
<li>chore(deps): update typescript-eslint monorepo to v6.15.0 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1801">tj-actions/changed-files#1801</a></li>
<li>Upgraded to v40.2.3 by <a href="https://github.com/tj-actions-
bot"><code>@​tj-actions-bot</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1800">tj-actions/changed-files#1800</a></li>
<li>chore(deps): update dependency eslint-plugin-prettier to v5.1.0 by
<a href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1802">tj-actions/changed-files#1802</a></li>
<li>chore(deps): lock file maintenance by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1803">tj-actions/changed-files#1803</a></li>
<li>chore(deps): update dependency eslint-plugin-prettier to v5.1.1 by
<a href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1804">tj-actions/changed-files#1804</a></li>
<li>fix: update safe output regex and the docs by <a
href="https://github.com/tj-actions-bot"><code>@​tj-actions-
bot</code></a> in <a href="https://github.com/tj-
actions/changed-files/pull/1805">tj-actions/changed-files#1805</a></li>
<li>Revert &quot;chore(deps): update actions/download-artifact action to
v4&quot; by <a
href="https://github.com/jackton1"><code>@​jackton1</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1806">tj-actions/changed-files#1806</a></li>
<li>Update README.md by <a
href="https://github.com/jackton1"><code>@​jackton1</code></a> in <a
href="https://github.com/tj-actions/changed-
files/pull/1808">tj-actions/changed-files#1808</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/tj-actions/changed-
files/blob/main/HISTORY.md">tj-actions/changed-files's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h1><a href="https://github.com/tj-actions/changed-
files/compare/v41.0.0...v41.0.1">41.0.1</a> - (2023-12-24)</h1>
<h2><!-- raw HTML omitted -->🐛 Bug Fixes</h2>
<ul>
<li>Update characters escaped by safe output (<a
href="https://github.com/tj-actions/changed-
files/issues/1815">sagemath#1815</a>) (<a href="https://github.com/tj-
actions/changed-
files/commit/716b1e13042866565e00e85fd4ec490e186c4a2f">716b1e1</a>)  -
(Tonye Jack)</li>
</ul>
<h2><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h2>
<ul>
<li><strong>deps:</strong> Update dependency eslint-plugin-prettier to
v5.1.2 (<a href="https://github.com/tj-actions/changed-
files/commit/7aaf10d9eef19e8a2432a967b88124171152caaf">7aaf10d</a>)  -
(renovate[bot])</li>
</ul>
<h2><!-- raw HTML omitted -->⬆️ Upgrades</h2>
<ul>
<li>Upgraded to v41 (<a href="https://github.com/tj-
actions/changed-files/issues/1811">sagemath#1811</a>)</li>
</ul>
<p>Co-authored-by: jackton1 <a href="mailto:jackton1@users.noreply.githu
b.com">jackton1@users.noreply.github.com</a> (<a
href="https://github.com/tj-actions/changed-
files/commit/cc08e170f4447237bcaf8acaacfa615b9cb86612">cc08e17</a>)  -
(tj-actions[bot])</p>
<h1><a href="https://github.com/tj-actions/changed-
files/compare/v40.2.3...v41.0.0">41.0.0</a> - (2023-12-23)</h1>
<h2><!-- raw HTML omitted -->🐛 Bug Fixes</h2>
<ul>
<li>Update safe output regex and the docs (<a
href="https://github.com/tj-actions/changed-
files/issues/1805">sagemath#1805</a>) (<a href="https://github.com/tj-
actions/changed-
files/commit/ff2f6e6b91913a7be42be1b5917330fe442f2ede">ff2f6e6</a>)  -
(tj-actions[bot])</li>
</ul>
<h2><!-- raw HTML omitted -->⏪ Reverts</h2>
<ul>
<li>Revert &quot;chore(deps): update actions/download-artifact action to
v4&quot; (<a href="https://github.com/tj-actions/changed-
files/issues/1806">sagemath#1806</a>)</li>
</ul>
<p>(<a href="https://github.com/tj-actions/changed-
files/commit/4f573fed06c9abb5da4c72f75c1c320718114ff7">4f573fe</a>)  -
(Tonye Jack)</p>
<h2><!-- raw HTML omitted -->🔄 Update</h2>
<ul>
<li>Update README.md (<a href="https://github.com/tj-actions/changed-
files/commit/6e79d6e3dbe48946636c2939c80ff5c84ff7f9fe">6e79d6e</a>)  -
(Tonye Jack)</li>
<li>Update README.md (<a href="https://github.com/tj-actions/changed-
files/commit/d13ac1942fb3c1d7d32017915bb082cebe8a272a">d13ac19</a>)  -
(Tonye Jack)</li>
<li>Update README.md (<a href="https://github.com/tj-actions/changed-
files/commit/bb89f97963be96b39e1a303e64d5b91a1af4c340">bb89f97</a>)  -
(Tonye Jack)</li>
<li>Updated README.md (<a href="https://github.com/tj-
actions/changed-files/issues/1810">sagemath#1810</a>)</li>
</ul>
<p>Co-authored-by: renovate[bot] <!-- raw HTML omitted --> (<a
href="https://github.com/tj-actions/changed-
files/commit/1864078d0afadf68ba489e671ecc09fefe8b70ab">1864078</a>)  -
(tj-actions[bot])</p>
<ul>
<li>Update README.md (<a href="https://github.com/tj-
actions/changed-files/issues/1808">sagemath#1808</a>)</li>
</ul>
<p>(<a href="https://github.com/tj-actions/changed-
files/commit/47371c50e97c089212d9eb92ca26c8453224e78e">47371c5</a>)  -
(Tonye Jack)</p>
<h2><!-- raw HTML omitted -->📝 Other</h2>
<ul>
<li>Merge pull request from GHSA-mcph-m25j-8j63</li>
</ul>
<ul>
<li>
<p>feat: add <code>safe_output</code> input enabled by default</p>
</li>
<li>
<p>fix: migrate README to safe uses of interpolation</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="tj-actions/changed-files@716b1e13
042866565e00e85fd4ec490e186c4a2f"><code>716b1e1</code></a> fix: update
characters escaped by safe output (<a
href="https://github.com/tj-actions/changed-
files/issues/1815">sagemath#1815</a>)</li>
<li><a href="tj-actions/changed-files@7aaf10d9
eef19e8a2432a967b88124171152caaf"><code>7aaf10d</code></a> chore(deps):
update dependency eslint-plugin-prettier to v5.1.2</li>
<li><a href="tj-actions/changed-files@cc08e170
f4447237bcaf8acaacfa615b9cb86612"><code>cc08e17</code></a> Upgraded to
v41 (<a href="https://github.com/tj-actions/changed-
files/issues/1811">sagemath#1811</a>)</li>
<li><a href="tj-actions/changed-files@6e79d6e3
dbe48946636c2939c80ff5c84ff7f9fe"><code>6e79d6e</code></a> Update
README.md</li>
<li><a href="tj-actions/changed-files@d13ac194
2fb3c1d7d32017915bb082cebe8a272a"><code>d13ac19</code></a> Update
README.md</li>
<li><a href="tj-actions/changed-files@bb89f979
63be96b39e1a303e64d5b91a1af4c340"><code>bb89f97</code></a> Update
README.md</li>
<li><a href="tj-actions/changed-files@1864078d
0afadf68ba489e671ecc09fefe8b70ab"><code>1864078</code></a> Updated
README.md (<a href="https://github.com/tj-actions/changed-
files/issues/1810">sagemath#1810</a>)</li>
<li><a href="tj-actions/changed-files@f495a032
1d3fffa62da2573adf70b77d5eb2f57a"><code>f495a03</code></a> chore(deps):
lock file maintenance</li>
<li><a href="tj-actions/changed-files@47371c50
e97c089212d9eb92ca26c8453224e78e"><code>47371c5</code></a> Update
README.md (<a href="https://github.com/tj-actions/changed-
files/issues/1808">sagemath#1808</a>)</li>
<li><a href="tj-actions/changed-files@4f573fed
06c9abb5da4c72f75c1c320718114ff7"><code>4f573fe</code></a> Revert
&quot;chore(deps): update actions/download-artifact action to v4&quot;
(<a href="https://github.com/tj-actions/changed-
files/issues/1806">sagemath#1806</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/tj-
actions/changed-files/compare/v38...v41">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-
badges.githubapp.com/badges/compatibility_score?dependency-name=tj-
actions/changed-files&package-manager=github_actions&previous-
version=38&new-version=41)](https://docs.github.com/en/github/managing-
security-vulnerabilities/about-dependabot-security-updates#about-
compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts page](https://github.com/sagemath/sage/network/alerts).

</details>
    
URL: sagemath#37048
Reported by: dependabot[bot]
Reviewer(s): Frédéric Chapoton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants