-
-
Notifications
You must be signed in to change notification settings - Fork 346
Bump the github-actions group with 6 updates #1362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump the github-actions group with 6 updates #1362
Conversation
@dependabot rebase main |
Bumps the github-actions group with 6 updates: | Package | From | To | | --- | --- | --- | | [actions/checkout](https://github.com/actions/checkout) | `3` | `4` | | [extractions/setup-just](https://github.com/extractions/setup-just) | `1` | `2` | | [actions/upload-artifact](https://github.com/actions/upload-artifact) | `3` | `4` | | [dtolnay/rust-toolchain](https://github.com/dtolnay/rust-toolchain) | `1.67.0` | `1.80.0` | | [actions/download-artifact](https://github.com/actions/download-artifact) | `3` | `4` | | [actions/upload-release-asset](https://github.com/actions/upload-release-asset) | `1.0.1` | `1.0.2` | Updates `actions/checkout` from 3 to 4 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v3...v4) Updates `extractions/setup-just` from 1 to 2 - [Release notes](https://github.com/extractions/setup-just/releases) - [Commits](extractions/setup-just@v1...v2) Updates `actions/upload-artifact` from 3 to 4 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v3...v4) Updates `dtolnay/rust-toolchain` from 1.67.0 to 1.80.0 - [Release notes](https://github.com/dtolnay/rust-toolchain/releases) - [Commits](dtolnay/rust-toolchain@1.67.0...1.80.0) Updates `actions/download-artifact` from 3 to 4 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](actions/download-artifact@v3...v4) Updates `actions/upload-release-asset` from 1.0.1 to 1.0.2 - [Release notes](https://github.com/actions/upload-release-asset/releases) - [Commits](actions/upload-release-asset@v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: extractions/setup-just dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: dtolnay/rust-toolchain dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/upload-release-asset dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <[email protected]>
45edd48
to
a64d015
Compare
If this doesn't work, so it happens once per week now, better replace it with rustup invocations.
When `dtolnay/rust-toolchain` is a tag, it specifies a particular version of the actual Rust toolchain to use. It is also sometimes used with a branch such as `master` (to then specify the version as an option rather than in the action version) or `stable`, but branches are ineligible for Dependabot version updates and also would not ordinarily require them since they move much more often than tags. Therefore, this tells Dependabot to ignore `dtolnay/rust-toolchain` for the purpose of version updates. As commented, this is done in a way that *should* avoid causing it to be ignored for security updates. Old Rust toolchains may have known vulnerabilities but still be safe to use on CI based on a consideration of the risks (for triggers such as `push` and `pull_request` that run with the same privileges of the user who can cause the triggering event to occur), and I believe the action itself does not get advisories for those versions. But it is possible that at some point in the future a vulnerability might be discovered in the action itself and an advisory produced for it, so having Dependabot be able to show any such advisory and, if enabled, produce a security update PR for it automatically is still valuable. Ignoring `dtolnay/rust-toolchain` addresses the problem identified in GitoxideLabs#1362 (review) without requiring any decreased use of actions to install dependencies, modification of how the actions' versions or options are given, or `@dependabot` ignore commands.
When `dtolnay/rust-toolchain` is a tag, it specifies a particular version of the actual Rust toolchain to use. It is also sometimes used with a branch such as `master` (to then specify the version as an option rather than in the action version) or `stable`, but branches are ineligible for Dependabot version updates and also would not ordinarily require them since they move much more often than tags. Therefore, this tells Dependabot to ignore `dtolnay/rust-toolchain` for the purpose of version updates. As commented, this is done in a way that *should* avoid causing it to be ignored for security updates. Old Rust toolchains may have known vulnerabilities but still be safe to use on CI based on a consideration of the risks (for triggers such as `push` and `pull_request` that run with the same privileges of the user who can cause the triggering event to occur), and I believe the action itself does not get advisories for those versions. But it is possible that at some point in the future a vulnerability might be discovered in the action itself and an advisory produced for it, so having Dependabot be able to show any related alert and, if enabled, produce a security update PR for it automatically is still valuable. Ignoring `dtolnay/rust-toolchain` addresses the problem identified in GitoxideLabs#1362 (review) without requiring any decreased use of actions to install dependencies, modification of how the actions' versions or options are given, or `@dependabot` ignore commands.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although this looks good and could be merged immediately, I've opened #1364 to make it so Dependabot no longer attempts to update dtolnay/rust-toolchain
. As detailed there, the easiest and most robust way to verify the effect of that change may involve merging that PR before this one.
Relating to the message (but not diff) of cd6d578, please note that, even if for some reason #1364 were not to be merged, it should not be necessary to use actions less extensively to install toolchains or any other dependencies, because there are two other ways to keep Dependabot from attempting to upgrade that dependency (they are listed in that PR description, among the list of things that PR, if merged, will make it unnecessary to do).
Thank you! I actually plan to remove this action entirely in favor of plain rustup calls, so probably won't end up merging #1364. |
17d0d01
to
ca58484
Compare
Using it when availble as standard tool seems preferable over using an action that potentially hides away what's truly going on (after all, it also calls `rustup` under the hood)
ca58484
to
c97ee27
Compare
Sounds good. I hope Dependabot is not the reason for replacing that action, since even if you don't want the changes from #1364 in the configuration, Dependabot can be told to ignore updates with Regardless of the reason, I will go ahead and close #1364 if it is still open after this PR is merged--because this PR contains c97ee27 which makes it unnecessary--unless you indicate that it should remain open. (And of course I have no objection to you closing it, if you like!) |
It's a long-standing issue of over-abstraction and I thought it was a fruit hanging low enough to tackle now, as a form of warmup. Please also note that Windows was subtly broken, but that's fixed in 91b6549 which lives in this PR - it's my work-PR that captures feature-goals but is also often used to contain smaller fixes which may be merged back occasionally. I should probably use that less in favor of separate PRs now. |
Thanks for clarification regarding For the Windows breakage, at least in this instance, I'm not aware of any reason having the fix for in that PR would be a problem, at least for anything I'm working on. But I understand having separate PRs for such things does have benefits. I have an idea about that though, which might potentially lead to an alternative fix. So I've commented #1363 (comment) about that. |
Bumps the github-actions group with 6 updates:
3
4
1
2
3
4
1.67.0
1.80.0
3
4
1.0.1
1.0.2
Updates
actions/checkout
from 3 to 4Release notes
Sourced from actions/checkout's releases.
... (truncated)
Changelog
Sourced from actions/checkout's changelog.
... (truncated)
Commits
0ad4b8f
Prep Release v4.1.4 (#1704)43045ae
Disableextensions.worktreeConfig
when disablingsparse-checkout
(#1692)37b0821
Bump the minor-actions-dependencies group with 2 updates (#1693)9839dc1
Add dependabot config (#1688)9b4c13b
Bump word-wrap from 1.2.3 to 1.2.5 (#1643)1d96c77
Add SSH user parameter (#1685)cd7d8d6
Check git version before attempting to disablesparse-checkout
(#1656)8410ad0
Updateactions/checkout
version inupdate-main-version.yml
(#1650)9bb5618
Prep for release of v4.1.2 (#1649)8eb1f6a
Bump@babel/traverse
from 7.20.5 to 7.24.0 (#1642)Updates
extractions/setup-just
from 1 to 2Commits
dd310ad
This is 2.0.0b88c09d
Upgrade GitHub Actionsdcec242
Upgrade dependenciesfbd91a8
Use Node v205024487
Build: just v1.23.0 (#15)1b96160
doc: Fix invalid GHA syntax in github-token example (#12)Updates
actions/upload-artifact
from 3 to 4Release notes
Sourced from actions/upload-artifact's releases.
Commits
6546280
updating package versionc004fb4
Merge branch 'main' into eggyhead/use-artifact-v2.1.690aba49
updating toolkit artifact dependency to 2.1.6b06cde3
Merge pull request #563 from actions/eggyhead/release-4.3.21746f4a
Revert "updating to release 4.3.2"31685d0
updating to release 4.3.218bf333
Merge pull request #562 from actions/eggyhead/update-artifact-v215dac413b
update package lock versionbb3b4a3
updating package version3e3da83
updating artifact and core dependenciesUpdates
dtolnay/rust-toolchain
from 1.67.0 to 1.80.0Commits
2398b6d
toolchain: 1.80.0Updates
actions/download-artifact
from 3 to 4Release notes
Sourced from actions/download-artifact's releases.
Commits
65a9edc
Merge pull request #325 from bethanyj28/mainfdd1595
licensedc13dba1
update@actions/artifact
dependency0daa75e
Merge pull request #324 from actions/eggyhead/use-artifact-v2.1.69c19ed7
Merge branch 'main' into eggyhead/use-artifact-v2.1.63d3ea87
updating license89af5db
updating artifact package v2.1.6b4aefff
Merge pull request #323 from actions/eggyhead/update-artifact-v2158caf195
package lock updated7a2ec4
updating package versionUpdates
actions/upload-release-asset
from 1.0.1 to 1.0.2Release notes
Sourced from actions/upload-release-asset's releases.
Commits
e8f9f06
Merge pull request #27 from actions/IAmHughes/add-automated-versioning1418754
Add versioning action to automatically slide major versions with releases7d8fb6c
Merge pull request #6 from actions/IAmHughes/fix-link-to-licensec53f077
Fix link to LICENSE72e8a5e
Merge pull request #5 from cesperanc/documentation-updatebf2a7fb
Update example to use the fixed versionDependabot 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 merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor version
will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>
will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditions