Skip to content

Bump actions/upload-artifact from 6 to 7#334

Merged
VisruthSK merged 1 commit intomasterfrom
dependabot/github_actions/actions/upload-artifact-7
Mar 2, 2026
Merged

Bump actions/upload-artifact from 6 to 7#334
VisruthSK merged 1 commit intomasterfrom
dependabot/github_actions/actions/upload-artifact-7

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 2, 2026

Bumps actions/upload-artifact from 6 to 7.

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

Commits

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/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  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 Mar 2, 2026
@VisruthSK VisruthSK merged commit 99ac8fd into master Mar 2, 2026
6 checks passed
@VisruthSK VisruthSK deleted the dependabot/github_actions/actions/upload-artifact-7 branch March 2, 2026 16:52
@jgabry
Copy link
Member

jgabry commented Mar 2, 2026

@VisruthSK even though all the checks passed the test-coverage has a hidden error and failure to upload the coverage report:

https://github.com/stan-dev/loo/actions/runs/22586062036/job/65431178627#step:6:336

I don't see this error in PRs from before this was merged. Any idea what's going on?

@VisruthSK
Copy link
Member

VisruthSK commented Mar 2, 2026

No I didn't see that. Strange. I did the same change in stanflow and nothing happened, I'm pretty sure I use the same workflow. I'll fix this today.

It also really bothers me that this doesn't fail the step/workflow--I'll try to fix that too.

@jgabry
Copy link
Member

jgabry commented Mar 2, 2026

Thanks. I have a hazy memory of this happening once before and one of the AI models figured out the problem. Might not have been in the loo package though. Same issue is happening in bayesplot: stan-dev/bayesplot#427

@VisruthSK
Copy link
Member

Oh dependabot doesn't get access to the codecovr secret so CI won't fail (useful for forks and such when we obviously don't want to let them upload coverage).

          # Fail if error if not on PR, or if on PR and token is given
          fail_ci_if_error: ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }}

https://github.blog/changelog/2021-02-18-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/

We could change that by giving the codecovr token as a dependabot secret (or maybe by swapping to OIDC?) but its a security tradeoff.

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.

2 participants