Skip to content

chore(deps): Bump actions/upload-artifact from 4.6.2 to 7.0.1#125

Merged
don-petry merged 1 commit intomainfrom
dependabot/github_actions/actions/upload-artifact-7.0.1
Apr 17, 2026
Merged

chore(deps): Bump actions/upload-artifact from 4.6.2 to 7.0.1#125
don-petry merged 1 commit intomainfrom
dependabot/github_actions/actions/upload-artifact-7.0.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 12, 2026

Bumps actions/upload-artifact from 4.6.2 to 7.0.1.

Release notes

Sourced from actions/upload-artifact's releases.

v7.0.1

What's Changed

Full Changelog: actions/upload-artifact@v7...v7.0.1

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

... (truncated)

Commits
  • 043fb46 Merge pull request #797 from actions/yacaovsnc/update-dependency
  • 634250c Include changes in typespec/ts-http-runtime 0.3.5
  • e454baa Readme: bump all the example versions to v7 (#796)
  • 74fad66 Update the readme with direct upload details (#795)
  • 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
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Dependency update PRs security Security-related PRs and issues labels Apr 12, 2026
@dependabot dependabot Bot requested a review from don-petry as a code owner April 12, 2026 08:12
@dependabot dependabot Bot force-pushed the dependabot/github_actions/actions/upload-artifact-7.0.1 branch 3 times, most recently from d38dd3f to 9880a14 Compare April 16, 2026 02:01
@dependabot-automerge-petry dependabot-automerge-petry Bot enabled auto-merge (squash) April 16, 2026 11:46
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

@don-petry don-petry left a comment

Choose a reason for hiding this comment

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

Automated review — APPROVED

Risk: LOW
Reviewed commit: 50a7085fed708e3ba442f8844bbc004aa804ee88
Cascade: triage → deep (see triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6 for models)

Summary

Dependabot bump of actions/upload-artifact from v4.6.2/v7.0.0 to v7.0.1 across three workflow files. All changes use pinned SHA references (security best practice), all CI checks pass (CodeQL, SonarCloud, AgentShield, ShellCheck, Lint, Dependency audit), and the action originates from the trusted GitHub actions org. The triage escalation was caused by a triage-output-invalid system failure, not a genuine security signal.

Findings

Info

  • .github/workflows/feature-ideation-reusable.yml:132 — Two files jump from v4.6.2 to v7.0.1 (3 major versions). v5→v6 moved to Node.js 24; v6→v7 added ESM and direct-upload mode. The callers use only standard name, path, and if: parameters which remain compatible across all versions.
  • .github/workflows/compliance-audit-and-improvement.yml:89 — Advances from v7.0.0 (SHA bbbca2d) to v7.0.1 (SHA 043fb46) — a minor patch bump, no breaking changes.
  • (all files) — All three action references are pinned to full commit SHA (043fb46d1a93c77aae656e7c1c64a875d1fc6a0a) rather than a mutable tag. This is correct and follows supply-chain security best practices.
  • (all files) — All CI checks green: CodeQL, SonarCloud (0 new issues, 0 security hotspots), AgentShield, Agent Security Scan, Lint, ShellCheck, and Feature Ideation Tests all passed successfully.
  • (all files) — Triage signal was triage-output-invalid — the triage tier experienced a system error and could not produce output, so it defaulted to escalation. There are no genuine security concerns in this PR.

CI status

All CI checks green: CodeQL, SonarCloud (0 new issues, 0 security hotspots), AgentShield, Agent Security Scan, Lint, ShellCheck, and Feature Ideation Tests all passed successfully.


Reviewed by the don-petry PR-review cascade (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6). Reply with @don-petry if you need a human.

@don-petry
Copy link
Copy Markdown
Contributor

@dependabot rebase

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 16, 2026

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

don-petry pushed a commit that referenced this pull request Apr 16, 2026
…dations

## Summary

Analysis of Dependabot auto-merge workflow reveals policy is correctly implemented
but repository rulesets cause operational stalling. The `require_last_push_approval`
setting, combined with `required_linear_history`, creates a rebase loop that
prevents Dependabot PRs from merging even when approved and checks passing.

## Changes

1. Add DEPENDABOT_STATUS_ANALYSIS.md — comprehensive investigation report:
   - Confirms auto-merge workflow works correctly for GitHub Actions (including MAJOR bumps)
   - Documents root cause: ruleset interaction with rebase workflow
   - Provides tactical and strategic recommendations
   - Answers user questions about hourly review workflow (none exists—approvals are event-driven)

2. Update standards/github-settings.md:
   - Clarify rationale for `require_last_push_approval: false`
   - Document interaction with Dependabot auto-merge workflow
   - Add reference to dependabot-policy.md for full context

## Key Findings

✅ Dependabot auto-merge workflow: Working as designed
✅ Policy document: Correct and complete
❌ Operational issue: PRs stuck BEHIND due to ruleset constraints
⚠️ Proposed fix: Change `require_last_push_approval: false` (see analysis for details)

## Recommendations

1. Tactical: Use `@dependabot recreate` for edited PRs (PR #125)
2. Strategic: Relax ruleset constraint to unblock auto-merge flow
3. Process: Update AGENTS.md with Dependabot troubleshooting guide

See DEPENDABOT_STATUS_ANALYSIS.md for full details, timeline, and alternatives.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
don-petry pushed a commit that referenced this pull request Apr 16, 2026
…k merge

## Problem

When dependabot-rebase updates a PR branch (after it falls behind main), the
update counts as a "push" event. GitHub's `dismiss_stale_reviews_on_push` rule
then marks the PR's approval as stale, preventing merge even though:
- ✅ PR branch is now current
- ✅ Approval exists
- ✅ All checks pass

Result: PR stuck BLOCKED/BEHIND indefinitely.

## Solution (Option C: Workflow Fix, Not Ruleset Change)

After updating a Dependabot PR branch, immediately re-approve it using the
app-bot token. This maintains the `require_last_push_approval: true` safeguard
for human developers while unblocking Dependabot's automated workflow.

This is safe because:
- Re-approval is after a branch-only update (no code change)
- Bot-to-bot approval is expected and trusted
- Human-authored PRs keep their safeguard intact

## Changes

1. **dependabot-rebase-reusable.yml**: Add re-approval step after update-branch
   - Checks if update succeeded
   - Re-approves the PR with explanatory comment
   - Continues to next PR in queue
   - No behavior change if re-approval fails (PR still queued)

2. **standards/github-settings.md**: Revert ruleset change recommendation
   - Keep `require_last_push_approval: true`
   - Document that rebase workflow re-approves after updates
   - No policy change needed

3. **DEPENDABOT_STATUS_ANALYSIS.md**: Update recommendation
   - Change from "relax ruleset" to "fix workflow"
   - Recommend Option C as correct solution
   - Explain why workflow fix is superior

## Testing

PR #125 and #129 should now:
1. Be rebased to be current with main
2. Immediately re-approved by the rebase workflow
3. Merge automatically as all requirements are met

Expected in PR history: Re-approval comment from app-bot after branch update.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
don-petry added a commit that referenced this pull request Apr 16, 2026
…k auto-merge

* docs(dependabot): add auto-merge status analysis and ruleset recommendations

## Summary

Analysis of Dependabot auto-merge workflow reveals policy is correctly implemented
but repository rulesets cause operational stalling. The `require_last_push_approval`
setting, combined with `required_linear_history`, creates a rebase loop that
prevents Dependabot PRs from merging even when approved and checks passing.

## Changes

1. Add DEPENDABOT_STATUS_ANALYSIS.md — comprehensive investigation report:
   - Confirms auto-merge workflow works correctly for GitHub Actions (including MAJOR bumps)
   - Documents root cause: ruleset interaction with rebase workflow
   - Provides tactical and strategic recommendations
   - Answers user questions about hourly review workflow (none exists—approvals are event-driven)

2. Update standards/github-settings.md:
   - Clarify rationale for `require_last_push_approval: false`
   - Document interaction with Dependabot auto-merge workflow
   - Add reference to dependabot-policy.md for full context

## Key Findings

✅ Dependabot auto-merge workflow: Working as designed
✅ Policy document: Correct and complete
❌ Operational issue: PRs stuck BEHIND due to ruleset constraints
⚠️ Proposed fix: Change `require_last_push_approval: false` (see analysis for details)

## Recommendations

1. Tactical: Use `@dependabot recreate` for edited PRs (PR #125)
2. Strategic: Relax ruleset constraint to unblock auto-merge flow
3. Process: Update AGENTS.md with Dependabot troubleshooting guide

See DEPENDABOT_STATUS_ANALYSIS.md for full details, timeline, and alternatives.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

* fix(dependabot-rebase): re-approve PRs after branch updates to unblock merge

## Problem

When dependabot-rebase updates a PR branch (after it falls behind main), the
update counts as a "push" event. GitHub's `dismiss_stale_reviews_on_push` rule
then marks the PR's approval as stale, preventing merge even though:
- ✅ PR branch is now current
- ✅ Approval exists
- ✅ All checks pass

Result: PR stuck BLOCKED/BEHIND indefinitely.

## Solution (Option C: Workflow Fix, Not Ruleset Change)

After updating a Dependabot PR branch, immediately re-approve it using the
app-bot token. This maintains the `require_last_push_approval: true` safeguard
for human developers while unblocking Dependabot's automated workflow.

This is safe because:
- Re-approval is after a branch-only update (no code change)
- Bot-to-bot approval is expected and trusted
- Human-authored PRs keep their safeguard intact

## Changes

1. **dependabot-rebase-reusable.yml**: Add re-approval step after update-branch
   - Checks if update succeeded
   - Re-approves the PR with explanatory comment
   - Continues to next PR in queue
   - No behavior change if re-approval fails (PR still queued)

2. **standards/github-settings.md**: Revert ruleset change recommendation
   - Keep `require_last_push_approval: true`
   - Document that rebase workflow re-approves after updates
   - No policy change needed

3. **DEPENDABOT_STATUS_ANALYSIS.md**: Update recommendation
   - Change from "relax ruleset" to "fix workflow"
   - Recommend Option C as correct solution
   - Explain why workflow fix is superior

## Testing

PR #125 and #129 should now:
1. Be rebased to be current with main
2. Immediately re-approved by the rebase workflow
3. Merge automatically as all requirements are met

Expected in PR history: Re-approval comment from app-bot after branch update.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

* chore: remove analysis documents (workflow fix is complete)

* fix(dependabot-rebase): guard re-approval behind auto-merge check, fix warning message

- Only re-approve after update-branch if auto-merge is already enabled.
  Auto-merge is set exclusively by the automerge workflow after confirming
  policy eligibility, preventing inadvertent approval of PRs requiring
  human review (e.g. major non-Actions updates).
- Fix misleading warning: 'may still merge if approval is stale' →
  'will remain blocked until manually re-approved'
- Add inline comment explaining update-branch authorship w.r.t.
  require_last_push_approval (pusher = GitHub infra, approver = app)

Addresses Copilot review comments on PR #140.

---------

Co-authored-by: DJ <dj@Rachels-Air.localdomain>
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
@don-petry
Copy link
Copy Markdown
Contributor

@dependabot recreate

@dependabot dependabot Bot force-pushed the dependabot/github_actions/actions/upload-artifact-7.0.1 branch from 50a7085 to 0616868 Compare April 17, 2026 02:32
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.2 to 7.0.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v4.6.2...043fb46)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/github_actions/actions/upload-artifact-7.0.1 branch from 0616868 to 5c5f0d0 Compare April 17, 2026 02:57
@don-petry don-petry merged commit 9a694e5 into main Apr 17, 2026
27 of 31 checks passed
@don-petry don-petry deleted the dependabot/github_actions/actions/upload-artifact-7.0.1 branch April 17, 2026 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency update PRs security Security-related PRs and issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant