WordPress-Coding-Standards
WordPress-Coding-Standards copied to clipboard
GH Actions: Bump codecov/codecov-action from 3 to 4
Bumps codecov/codecov-action from 3 to 4.
Release notes
Sourced from codecov/codecov-action's releases.
v4.0.0
v4 of the Codecov Action uses the CLI as the underlying upload. The CLI has helped to power new features including local upload, the global upload token, and new upcoming features.
Breaking Changes
- The Codecov Action runs as a
node20action due tonode16deprecation. See this post from GitHub on how to migrate.- Tokenless uploading is unsupported. However, PRs made from forks to the upstream public repos will support tokenless (e.g. contributors to OS projects do not need the upstream repo's Codecov token). This doc shows instructions on how to add the Codecov token.
- OS platforms have been added, though some may not be automatically detected. To see a list of platforms, see our CLI download page
- Various arguments to the Action have been changed. Please be aware that the arguments match with the CLI's needs
v3versions and below will not have access to CLI features (e.g. global upload token, ATS).What's Changed
- build(deps): bump openpgp from 5.8.0 to 5.9.0 by
@dependabotin codecov/codecov-action#985- build(deps): bump actions/checkout from 3.0.0 to 3.5.3 by
@dependabotin codecov/codecov-action#1000- build(deps): bump ossf/scorecard-action from 2.1.3 to 2.2.0 by
@dependabotin codecov/codecov-action#1006- build(deps): bump tough-cookie from 4.0.0 to 4.1.3 by
@dependabotin codecov/codecov-action#1013- build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 by
@dependabotin codecov/codecov-action#1024- build(deps): bump node-fetch from 3.3.1 to 3.3.2 by
@dependabotin codecov/codecov-action#1031- build(deps-dev): bump
@types/nodefrom 20.1.4 to 20.4.5 by@dependabotin codecov/codecov-action#1032- build(deps): bump github/codeql-action from 1.0.26 to 2.21.2 by
@dependabotin codecov/codecov-action#1033- build commit,report and upload args based on codecovcli by
@dana-yaishin codecov/codecov-action#943- build(deps-dev): bump
@types/nodefrom 20.4.5 to 20.5.3 by@dependabotin codecov/codecov-action#1055- build(deps): bump github/codeql-action from 2.21.2 to 2.21.4 by
@dependabotin codecov/codecov-action#1051- build(deps-dev): bump
@types/nodefrom 20.5.3 to 20.5.4 by@dependabotin codecov/codecov-action#1058- chore(deps): update outdated deps by
@thomasrockhu-codecovin codecov/codecov-action#1059- build(deps-dev): bump
@types/nodefrom 20.5.4 to 20.5.6 by@dependabotin codecov/codecov-action#1060- build(deps-dev): bump
@typescript-eslint/parserfrom 6.4.1 to 6.5.0 by@dependabotin codecov/codecov-action#1065- build(deps-dev): bump
@typescript-eslint/eslint-pluginfrom 6.4.1 to 6.5.0 by@dependabotin codecov/codecov-action#1064- build(deps): bump actions/checkout from 3.5.3 to 3.6.0 by
@dependabotin codecov/codecov-action#1063- build(deps-dev): bump eslint from 8.47.0 to 8.48.0 by
@dependabotin codecov/codecov-action#1061- build(deps-dev): bump
@types/nodefrom 20.5.6 to 20.5.7 by@dependabotin codecov/codecov-action#1062- build(deps): bump openpgp from 5.9.0 to 5.10.1 by
@dependabotin codecov/codecov-action#1066- build(deps-dev): bump
@types/nodefrom 20.5.7 to 20.5.9 by@dependabotin codecov/codecov-action#1070- build(deps): bump github/codeql-action from 2.21.4 to 2.21.5 by
@dependabotin codecov/codecov-action#1069- build(deps-dev): bump
@typescript-eslint/eslint-pluginfrom 6.5.0 to 6.6.0 by@dependabotin codecov/codecov-action#1072- Update README.md by
@thomasrockhu-codecovin codecov/codecov-action#1073- build(deps-dev): bump
@typescript-eslint/parserfrom 6.5.0 to 6.6.0 by@dependabotin codecov/codecov-action#1071- build(deps-dev): bump
@vercel/nccfrom 0.36.1 to 0.38.0 by@dependabotin codecov/codecov-action#1074- build(deps): bump
@actions/corefrom 1.10.0 to 1.10.1 by@dependabotin codecov/codecov-action#1081- build(deps-dev): bump
@typescript-eslint/eslint-pluginfrom 6.6.0 to 6.7.0 by@dependabotin codecov/codecov-action#1080- build(deps): bump actions/checkout from 3.6.0 to 4.0.0 by
@dependabotin codecov/codecov-action#1078- build(deps): bump actions/upload-artifact from 3.1.2 to 3.1.3 by
@dependabotin codecov/codecov-action#1077- build(deps-dev): bump
@types/nodefrom 20.5.9 to 20.6.0 by@dependabotin codecov/codecov-action#1075- build(deps-dev): bump
@typescript-eslint/parserfrom 6.6.0 to 6.7.0 by@dependabotin codecov/codecov-action#1079- build(deps-dev): bump eslint from 8.48.0 to 8.49.0 by
@dependabotin codecov/codecov-action#1076- use cli instead of node uploader by
@dana-yaishin codecov/codecov-action#1068- chore(release): 4.0.0-beta.1 by
@thomasrockhu-codecovin codecov/codecov-action#1084- not adding -n if empty to do-upload command by
@dana-yaishin codecov/codecov-action#1085- 4.0.0-beta.2 by
@thomasrockhu-codecovin codecov/codecov-action#1086
... (truncated)
Changelog
Sourced from codecov/codecov-action's changelog.
4.0.0-beta.2
Fixes
- #1085 not adding -n if empty to do-upload command
4.0.0-beta.1
v4represents a move from the universal uploader to the Codecov CLI. Although this will unlock new features for our users, the CLI is not yet at feature parity with the universal uploader.Breaking Changes
- No current support for
aarch64andalpinearchitectures.- Tokenless uploading is unsuported
- Various arguments to the Action have been removed
3.1.4
Fixes
- #967 Fix typo in README.md
- #971 fix: add back in working dir
- #969 fix: CLI option names for uploader
Dependencies
- #970 build(deps-dev): bump
@types/nodefrom 18.15.12 to 18.16.3- #979 build(deps-dev): bump
@types/nodefrom 20.1.0 to 20.1.2- #981 build(deps-dev): bump
@types/nodefrom 20.1.2 to 20.1.43.1.3
Fixes
- #960 fix: allow for aarch64 build
Dependencies
- #957 build(deps-dev): bump jest-junit from 15.0.0 to 16.0.0
- #958 build(deps): bump openpgp from 5.7.0 to 5.8.0
- #959 build(deps-dev): bump
@types/nodefrom 18.15.10 to 18.15.123.1.2
Fixes
- #718 Update README.md
- #851 Remove unsupported path_to_write_report argument
- #898 codeql-analysis.yml
- #901 Update README to contain correct information - inputs and negate feature
- #955 fix: add in all the extra arguments for uploader
Dependencies
- #819 build(deps): bump openpgp from 5.4.0 to 5.5.0
- #835 build(deps): bump node-fetch from 3.2.4 to 3.2.10
- #840 build(deps): bump ossf/scorecard-action from 1.1.1 to 2.0.4
- #841 build(deps): bump
@actions/corefrom 1.9.1 to 1.10.0- #843 build(deps): bump
@actions/githubfrom 5.0.3 to 5.1.1- #869 build(deps): bump node-fetch from 3.2.10 to 3.3.0
- #872 build(deps-dev): bump jest-junit from 13.2.0 to 15.0.0
- #879 build(deps): bump decode-uri-component from 0.2.0 to 0.2.2
... (truncated)
Commits
e0b68c6fix: show both token uses in readme (#1250)1f9f557Add all args (#1245)09686fcUpdate README.md (#1243)f30e495fix: update action.yml (#1240)a7b945cfix: allow for other archs (#1239)98ab2c5Update package.json (#1238)43235ccUpdate README.md (#1237)0cf8684chore(ci): bump to node20 (#1236)8e1e730build(deps-dev): bump@typescript-eslint/eslint-pluginfrom 6.19.1 to 6.20.0 ...61293afbuild(deps-dev): bump@typescript-eslint/parserfrom 6.19.1 to 6.20.0 (#1235)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
This is a highly problematic change as CodeCov will now require a dedicated token, even for public repos. See https://github.com/codecov/feedback/issues/112 for further information.
We can't just add the token as a secret in the repo, and use it in the action?
We can't just add the token as a secret in the repo, and use it in the action?
We will have to, but so far I've just seen problems reported related to this change. At least, they have made a change to allow tokenless runs for PRs from forks as those don't have access to repo secrets.
The short of it is that CodeCov basically has a rate limit issue and instead of solving that, they dump the problem onto their end-users with this change.
I suggest we wait a few weeks at the very least before accepting this PR, so CodeCov can at least get the release right.
Looks like CodeCov is locking down on the use of the v3 action as the builds for #2444 keep failing, no matter how often I retry them. sigh
Guess it's time to get the token set up and merge this PR (though I somehow expect more problems after that, but we'll see).
I've added the token now, both in the repo secrets as well as in the workflow (see this PR). If the build passes, we should probably merge this now.