Skip to content

chore(deps): bump actions/download-artifact from 7.0.0 to 8.0.0 - #58

Merged
hyperpolymath merged 1 commit into
mainfrom
dependabot/github_actions/actions/download-artifact-8.0.0
Feb 27, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
dependabot/github_actions/actions/download-artifact-8.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Feb 26, 2026

Copy link
Copy Markdown
Contributor

Bumps actions/download-artifact from 7.0.0 to 8.0.0.

Release notes

Sourced from actions/download-artifact's releases.

v8.0.0

v8 - What's new

Direct downloads

To support direct uploads in actions/upload-artifact, the action will no longer attempt to unzip all downloaded files. Instead, the action checks the Content-Type header ahead of unzipping and skips non-zipped files. Callers wishing to download a zipped file as-is can also set the new skip-decompress parameter to false.

Enforced checks (breaking)

A previous release introduced digest checks on the download. If a download hash didn't match the expected hash from the server, the action would log a warning. Callers can now configure the behavior on mismatch with the digest-mismatch parameter. To be secure by default, we are now defaulting the behavior to error which will fail the workflow run.

ESM

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

What's Changed

Full Changelog: actions/download-artifact@v7...v8.0.0

Commits
  • 70fc10c Merge pull request #461 from actions/danwkennedy/digest-mismatch-behavior
  • f258da9 Add change docs
  • ccc058e Fix linting issues
  • bd7976b Add a setting to specify what to do on hash mismatch and default it to error
  • ac21fcf Merge pull request #460 from actions/danwkennedy/download-no-unzip
  • 15999bf Add note about package bumps
  • 974686e Bump the version to v8 and add release notes
  • fbe48b1 Update test names to make it clearer what they do
  • 96bf374 One more test fix
  • b8c4819 Fix skip decompress test
  • 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)

Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](actions/download-artifact@37930b1...70fc10c)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Feb 26, 2026
@dependabot
dependabot Bot requested a review from hyperpolymath as a code owner February 26, 2026 21:09
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Feb 26, 2026
@hyperpolymath
hyperpolymath merged commit 3cdb1d7 into main Feb 27, 2026
43 of 64 checks passed
@hyperpolymath
hyperpolymath deleted the dependabot/github_actions/actions/download-artifact-8.0.0 branch February 27, 2026 14:50
Repository owner deleted a comment from chatgpt-codex-connector Bot May 13, 2026
hyperpolymath added a commit that referenced this pull request Sep 30, 2026
…us + inline directives honoured (#881)

> **Stacked on #877** (itself on #876). The base retargets to `main`
once #877 lands. Squash automerge will be armed then, not before: armed
now, it would merge into #877's branch.

## Why

A Hypatia `hardcoded_tmp` alert on launch-scaffolder#46 exposed a real
CWE-377 defect in the launcher generator. That was fixed upstream in
launch-scaffolder #54/#58/#62. The rule itself was part of the problem:

| Input | Before | After |
|---|---|---|
| `PID_FILE="/tmp/x.pid"` | fires | **fires** (positive control) |
| `d=$(mktemp -d /tmp/foo.XXXXXX)`, the rule's own advice | **fires** |
clean |
| `# comment mentioning "/tmp/"` | **fires** | clean |
| `/tmp` line under `tests/fixtures/`, `test/`, `lib/rules/`,
`scripts/fix-scripts/` | **fires** | suppressed |
| `# hypatia: allow content_patterns/hardcoded_tmp -- …` | **silently
ignored** | honoured |

## Changes

- **Remediation text.** It now separates pid/state files, which the next
run must re-find (per-user
`${XDG_RUNTIME_DIR:-${XDG_STATE_HOME:-$HOME/.local/state}}/<app>/`),
from scratch files (`mktemp -d` with no `/tmp` template, plus `trap …
EXIT`). The old text said "use mktemp", which is the wrong cure for a
pid file.
- **Own-cure skip.** `skip_comment_lines: true`, plus a new generic rule
key `skip_if_line_matches` (here `~r/\bmktemp\b/`).
- **Training-corpus exemption.** Added under `"content_patterns"`, the
key the findings are **emitted** under in `cli.ex`. A `"cicd_rules"` key
would be vacuous.
- **Inline directives.** `hypatia: allow <module>/<rule>` is now
honoured by the content engine under either module spelling. Rule ids
are atoms, so they are stringified before `inline_allowed?/4`.
- **Line-1 fix.** Line 1 no longer treats the file's **last** line as
its "previous line" (`Enum.at(lines, -1)` wraps around).
- **Docs.** The `.hypatia-ignore` header and `.claude/CLAUDE.md` now
document the two-spelling trap and the directive behaviour.

## Not changed, deliberately

- `applies_to` stays `["*.sh"]`. Widening it to `*.rs` would flag
`#[cfg(test)]` literals under `src/`, and cicd_rules has no Rust comment
stripping.
- The file-level `hypatia: allow` form is still not wired for content
patterns. CLAUDE.md now says so.

## Trade-off, stated plainly

After this PR, fixtures under `tests/` are no longer scanned for this
rule. On the launch-scaffolder side, the generator's own literal-pinned
tests (`DEFAULT_PID_LINE`) are now the detector for a `/tmp` regression.

## Verification

- `test/hardcoded_tmp_pipeline_test.exs` has 16 tests running the
**real** pipeline (`collect_findings` → normalise → suppress), never a
hand-built finding.
- Four mutants were each killed:

  | Mutant | Red tests |
  |---|---|
  | Exemption key renamed | 4 |
  | mktemp skip removed | 1 |
  | `n > 1` guard reverted | 1 |
  | `inline_allowed?` clause removed | 3 |

- Full suite: 1689 tests, 0 failures. `mix compile --warnings-as-errors
--force` is clean.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_0136eszqrQ53Kj7aBH1D4rXK

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant