Skip to content

Bump actions/upload-artifact from 4.6.2 to 7.0.0 - #27

Merged
jeremy merged 1 commit into
mainfrom
dependabot/github_actions/actions/upload-artifact-7.0.0
Mar 18, 2026
Merged

jeremy merged 1 commit into
mainfrom
dependabot/github_actions/actions/upload-artifact-7.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 10, 2026 •

Copy link
Copy Markdown
Contributor

Bumps actions/upload-artifact from 4.6.2 to 7.0.0.

Release notes

Sourced from actions/upload-artifact's releases.

v7.0.0

v7 What's new

Direct Uploads

Adds support for uploading single files directly (unzipped). Callers can set the new archive parameter to false to skip zipping the file during upload. Right now, we only support single files. The action will fail if the glob passed resolves to multiple files. The name parameter is also ignored with this setting. Instead, the name of the artifact will be the name of the uploaded file.

ESM

To support new versions of the @actions/* packages, we've upgraded the package to ESM.

What's Changed

New Contributors

Full Changelog: actions/upload-artifact@v6...v7.0.0

v6.0.0

v6 - What's new

[!IMPORTANT] actions/upload-artifact@v6 now runs on Node.js 24 (runs.using: node24) and requires a minimum Actions Runner version of 2.327.1. If you are using self-hosted runners, ensure they are updated before upgrading.

Node.js 24

This release updates the runtime to Node.js 24. v5 had preliminary support for Node.js 24, however this action was by default still running on Node.js 20. Now this action by default will run on Node.js 24.

What's Changed

Full Changelog: actions/upload-artifact@v5.0.0...v6.0.0

v5.0.0

What's Changed

BREAKING CHANGE: this update supports Node v24.x. This is not a breaking change per-se but we're treating it as such.

... (truncated)

Commits
  • bbbca2d Support direct file uploads (#764)
  • 589182c Upgrade the module to ESM and bump dependencies (#762)
  • 47309c9 Merge pull request #754 from actions/Link-/add-proxy-integration-tests
  • 02a8460 Add proxy integration test
  • b7c566a Merge pull request #745 from actions/upload-artifact-v6-release
  • e516bc8 docs: correct description of Node.js 24 support in README
  • ddc45ed docs: update README to correct action name for Node.js 24 support
  • 615b319 chore: release v6.0.0 for Node.js 24 support
  • 017748b Merge pull request #744 from actions/fix-storage-blob
  • 38d4c79 chore: rebuild dist
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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 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)

Summary by cubic

Bump actions/upload-artifact in .github/workflows/scorecard.yml from v4.6.2 to v7.0.0 to use the latest runtime and features. The scorecard job still uploads the SARIF file as before.

  • Migration
    • Self-hosted runners must be Actions Runner 2.327.1+ (Node.js 24). GitHub-hosted runners are already compatible.

Written for commit f9dcf93. Summary will update on new commits.

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.2 to 7.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@ea165f8...bbbca2d)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner March 10, 2026 09:23
Copilot AI review requested due to automatic review settings March 10, 2026 09:23
@dependabot
dependabot Bot removed the request for review from Copilot March 10, 2026 09:23
@github-actions

Copy link
Copy Markdown

Sensitive Change Detection (shadow mode)

This PR modifies control-plane files:

  • .github/workflows/scorecard.yml

Shadow mode — this check is informational only. When activated, changes to these paths will require approval from a maintainer.

@github-actions github-actions Bot added the enhancement New feature or request label Mar 10, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@jeremy
jeremy merged commit 8d92b0b into main Mar 18, 2026
23 of 24 checks passed
@jeremy
jeremy deleted the dependabot/github_actions/actions/upload-artifact-7.0.0 branch March 18, 2026 19:39
jeremy added a commit that referenced this pull request Aug 21, 2026
ToMarkdown wrote text, code, and link destinations straight into the
Markdown it built, so an email could write Markdown of its own. The live
case is a double decode: "&amp;#27;[31m" in the HTML is "&#27;[31m" once
the parser decodes it, and the Markdown renderer decoded it again into a
red terminal. A ")" in an href ended the link destination early, and a
"```" line inside a <pre> closed the fence.

Each of the four contexts now has its own serializer: prose escapes its
metacharacters and writes every "&" as "&amp;", which decodes back to "&"
under CommonMark and under glamour alike; inline code and fences carry
their content verbatim inside delimiters longer than any run the content
holds, with the info string limited to a language name; destinations
percent-encode what would end them, keep a query string's "&" as the
separator it is, and link only http, https, mailto and relative paths.
Every context strips C0, C1 and DEL first, so "&\x1f#27;" is looked at as
the "&#27;" it becomes. Syntax is decided on the line being built rather
than on one text node, since "1" and "." arrive separately and are a list
marker once they sit side by side.

Quote and list nesting stop at sixteen levels: glamour's cost doubles
every few quote levels, and a hundred-deep reply chain is a hang.

The tests use goldmark as the oracle — what a conformant renderer shows
for the Markdown is the literal text and URL the email held — and a fuzz
target holds that no control character survives either the Markdown or
its rendering.
jeremy added a commit that referenced this pull request Aug 21, 2026
glamour reads text out of the Markdown source and runs it through
html.UnescapeString before styling it — prose, code spans, raw HTML —
so "&#27;[31m" reached the terminal as a live escape byte however the
source spelled it, and CommonMark's "\&" did not help: glamour showed
the backslash and decoded the entity anyway.

Render now parses the source with glamour's own goldmark configuration
and rewrites exactly the spans glamour decodes, writing "&" as "&amp;"
there so that the extra decode is the identity. What glamour reads
verbatim — code blocks, image alt text, link destinations, autolinks —
stays verbatim, so "&amp;" never shows and a query string keeps its "&".
Controls are stripped on the way in and quote nesting is bounded, since
glamour's cost doubles every few levels of it.

On the way out, contain checks that the output is made of SGR, OSC 8 and
text: anything else means something got past the source rewrite, and the
honest answer is to strip every sequence and lose the styling rather than
guess which were ours. It is a last resort, not the guarantee — an
injected SGR is byte-for-byte one of ours. OSC 8 is kept only for http,
https and mailto; a relative attachment path stays visible text.

The per-width renderer cache is capped at eight entries, evicting an
arbitrary one past that.
jeremy added a commit that referenced this pull request Aug 21, 2026
)

* Serialize email content per Markdown context

ToMarkdown wrote text, code, and link destinations straight into the
Markdown it built, so an email could write Markdown of its own. The live
case is a double decode: "&amp;#27;[31m" in the HTML is "&#27;[31m" once
the parser decodes it, and the Markdown renderer decoded it again into a
red terminal. A ")" in an href ended the link destination early, and a
"```" line inside a <pre> closed the fence.

Each of the four contexts now has its own serializer: prose escapes its
metacharacters and writes every "&" as "&amp;", which decodes back to "&"
under CommonMark and under glamour alike; inline code and fences carry
their content verbatim inside delimiters longer than any run the content
holds, with the info string limited to a language name; destinations
percent-encode what would end them, keep a query string's "&" as the
separator it is, and link only http, https, mailto and relative paths.
Every context strips C0, C1 and DEL first, so "&\x1f#27;" is looked at as
the "&#27;" it becomes. Syntax is decided on the line being built rather
than on one text node, since "1" and "." arrive separately and are a list
marker once they sit side by side.

Quote and list nesting stop at sixteen levels: glamour's cost doubles
every few quote levels, and a hundred-deep reply chain is a hang.

The tests use goldmark as the oracle — what a conformant renderer shows
for the Markdown is the literal text and URL the email held — and a fuzz
target holds that no control character survives either the Markdown or
its rendering.

* Neutralize glamour's entity decoding and contain what Render emits

glamour reads text out of the Markdown source and runs it through
html.UnescapeString before styling it — prose, code spans, raw HTML —
so "&#27;[31m" reached the terminal as a live escape byte however the
source spelled it, and CommonMark's "\&" did not help: glamour showed
the backslash and decoded the entity anyway.

Render now parses the source with glamour's own goldmark configuration
and rewrites exactly the spans glamour decodes, writing "&" as "&amp;"
there so that the extra decode is the identity. What glamour reads
verbatim — code blocks, image alt text, link destinations, autolinks —
stays verbatim, so "&amp;" never shows and a query string keeps its "&".
Controls are stripped on the way in and quote nesting is bounded, since
glamour's cost doubles every few levels of it.

On the way out, contain checks that the output is made of SGR, OSC 8 and
text: anything else means something got past the source rewrite, and the
honest answer is to strip every sequence and lose the styling rather than
guess which were ours. It is a last resort, not the guarantee — an
injected SGR is byte-for-byte one of ours. OSC 8 is kept only for http,
https and mailto; a relative attachment path stays visible text.

The per-width renderer cache is capped at eight entries, evicting an
arbitrary one past that.

* Strip bidi controls from terminal text and escape C1 controls in JSON

terminal.Sanitize removed the escape sequences and the C0 and C1
controls from a sender's name or a filename, and left the bidirectional
controls in. They do not move the cursor, but they move what the reader
sees: a right-to-left override shows "invoice‮fdp.exe" as a PDF,
and an isolate can swap a name and an address. The whole Bidi_Control
set goes now. Right-to-left text itself still reads right-to-left.

encoding/json escapes the C0 controls as \u00XX and writes the C1
controls as the raw UTF-8 bytes they are, so `hey box --json` handed a
terminal an 8-bit CSI inside a subject. Every JSON the CLI writes — the
envelope, --quiet, an error, a jq object, a watch event — now goes
through one marshal that escapes them. A decoder yields the identical
string, so jq sees what it saw; only the raw bytes change. A jq string
result on a pipe stays raw, as `jq -r` writes it: the bytes are the value
and the consumer is a program.

make secrets failed open, skipping when gitleaks or its config was
missing; it is part of make security, so it fails instead.

* Sanitize every server field on its way to a terminal, and define --html

A sender's name, a subject, a filename, a habit title, a box name: each
reached a terminal through some path that skipped terminal.Sanitize —
the thread header, the contact detail, the watch line, a mutation
summary, the TUI's entry header, calendar day, screener rows and
pickers. They go through it now, and at the two places most of them
funnel through they go through it once: the CLI table sanitizes its own
cells, and the TUI's models — mail.Posting, models.Entry, Contact,
Recording — are sanitized as they are built from what HEY served, so
every row, picker and notice that shows them shows them inert.

TestSinksAreSanitized keeps it that way. It walks internal/cmd and
internal/tui and fails on a call to a listed sink — fmt.Fprintf, a
builder's WriteString, a lipgloss Render — whose argument names a
listed field outside a listed sanitizer. The claim is exactly that
narrow: it sees the direct write and not the same value through a local
variable first, so it is an inventory of the pattern and a guard against
adding another, not a taint analysis. testdata/sink_manifest.txt lists
the fields, the sanitizers, the sinks and the exemptions with reasons.

--html had no contract: it was honored only in styled output, so on a
pipe — the one place raw HTML belongs — it was ignored and the JSON came
out instead, while on a terminal it dumped markup. It is a format now.
It conflicts with every other output selector, is offered by the four
commands that hold HTML (threads, journal read, contacts show, contacts
note show) and refused by the rest before configuration is read, and is
refused on a terminal with the redirect spelled out. A thread writes
each entry's original HTML oldest first behind a comment naming the
entry; a note writes its markup or nothing. The terminal refusal and the
pipe are tested on a real pseudo-terminal and a real pipe.

* Document the terminal-safety model and the --html contract

* Show the ampersand ToMarkdown wrote, not a re-encoded one

ToMarkdown writes every ampersand in prose as &amp;, and Render then
encoded every ampersand again, so "Fried & Hansson" came out of the
pipeline reading "Fried &amp; Hansson". Each half was right alone; the
end-to-end test that would have caught the pair was missing.

In prose Render now leaves an "&amp;" as it is — glamour's one decode
turns it into the "&" it stands for — and still encodes any other "&",
so an entity the email spelled out stays the characters it was. Code is
verbatim, so every "&" there is still encoded. Alt text, which glamour
shows as written, gets the one decode ToMarkdown's "&amp;" needs and
nothing else. The pipeline test runs ToMarkdown into Render for each.

* Size the C1-escaped buffer without arithmetic CodeQL reads as an overflow

The capacity was len(data)+16, which go/allocation-size-overflow flags
as a computation on a potentially large value. The sixteen bytes were a
guess at how many escapes a typical envelope needs; append grows the
slice the rare time one needs more, so the capacity is len(data) alone.

* Act on the first review round of the safety floor

Render's fallbacks showed the copy of the source rewritten for glamour,
so a body glamour could not render read "Fried &amp; Hansson";
prepareSource now hands back the source to show and the source for
glamour apart, and a fallback shows the former.

codeSpan collapsed every run of whitespace, which is content in code;
only line endings become spaces now, and content that begins and ends
with a space is padded by one more on each side, since a renderer strips
one. The ordered-marker check joined the whole line to the run before
measuring it, which was quadratic over a long line of dots; the length
is checked first. A list nested past the cap rendered its items on one
line; it renders them at the current level, markers and all.

The sink checker treated any method named Render as markdown.Render,
so a lipgloss style's Render passed for a sanitizer; a sanitizer listed
with its package now matches only that qualified call, and the checker's
own probe covers the styled write. The --html contract is settled
before the version short-circuit and the jq validation, so
`hey --version --html` is refused and `--html --jq=` reports the format
conflict. A day without a journal entry writes nothing under --html
rather than a usage error. An error printed as text is sanitized:
on a terminal, and on stderr beside an --html redirect, the message may
be the server's.

Contacts and recordings are no longer sanitized as they are built: the
edit forms send those fields back, so an unrelated save would have
rewritten a name with a bidirectional mark in it. Every view sanitizes
what it shows instead, and the forms' own input sanitizer strips
controls on the way in. Box names reach the TUI's subnav and the move
picker sanitized at those sinks, since mail.Source is also what --json
serializes for a label or a collection.

* Leave fenced quote markers and U+FFFD alone

boundQuoteDepth collapsed a line of ">" inside a fence, where it is
code; lines inside a fence are skipped now. isControl counted U+FFFD as
a control and dropped it, but a replacement character is a printable
glyph whether the email carried it or an invalid byte became one.

* Track the whole fence, and keep --html's error format before the pre-run

boundQuoteDepth remembered three characters of a fence opener and took
any line starting with them as the closer, so a four-backtick fence
holding a "```" line ended early and the code after it was bounded as
quoting. The whole run is tracked and a closer is a run at least as
long with nothing else on the line.

An error Cobra raises before the pre-run — an unknown flag — built the
fallback writer without --html, so an --html invocation got a JSON error
on stderr; the fallback selects the HTML format the pre-run would have.

* Measure no fence run on a blank line, and document which models stay raw

* Read --html from the raw arguments for the pre-run fallback writer, whatever flag order

* Measure nesting on goldmark's tree, build lines in a buffer, and sanitize the TUI's last raw sinks

The line-wise quote bound only saw "> " spelled with spaces: markers
separated by tabs, or a list inside a quote, still reached glamour a
hundred deep and hung it. Depth is measured on goldmark's own tree now,
in the same parse the entity rewrite uses, so every spelling glamour
would honor counts, and a document past twenty levels is shown as its
source rather than rendered. The line-wise bound and its fence tracking
go with it; a fenced line of markers is code and counts for nothing.

ToMarkdown built each line by string concatenation, quadratic in the
length of a line; it builds in a buffer, and a test holds the
allocation linear across a fourfold input. A body's bidirectional
controls are stripped on the way to the terminal as a subject's are;
the JSON keeps them.

Search results were built into postings around mail.NewPosting, a
thread entry's summary and sender name were raw in mail.NewEntry, and
the TUI's error notices printed the server's words: each is sanitized
now. gitleaks redacts what it finds.

* Escape an unlinkable image's alt text as the prose it becomes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant