Skip to content

[ci] Pin upload-artifact action to specific SHA hash instead of HEAD#2276

Closed
cswilson252 wants to merge 2 commits into
PhotonVision:mainfrom
cswilson252:artifactUploadPinning
Closed

[ci] Pin upload-artifact action to specific SHA hash instead of HEAD#2276
cswilson252 wants to merge 2 commits into
PhotonVision:mainfrom
cswilson252:artifactUploadPinning

Conversation

@cswilson252

Copy link
Copy Markdown
Contributor

Description

Pins the upload-artifact action to a specific SHA1 hash instead of pulling the latest commit off of master. This addresses some but not all issues with blindly pulling an action from a branch and assuming it's safe.

Meta

Merge checklist:

@cswilson252 cswilson252 marked this pull request as ready for review January 4, 2026 23:43
@cswilson252 cswilson252 requested a review from a team as a code owner January 4, 2026 23:43
@cswilson252

Copy link
Copy Markdown
Contributor Author

Pins to actions/upload-artifact@330a01c since Node24 isn't supported here yet

@samfreund samfreund mentioned this pull request Jan 5, 2026
7 tasks
@samfreund

Copy link
Copy Markdown
Member

superceded by #2274

@samfreund samfreund closed this Jan 5, 2026
@samfreund

Copy link
Copy Markdown
Member

Thanks though charlotte, it's a good spot!

@cswilson252 cswilson252 deleted the artifactUploadPinning branch January 5, 2026 04:55
Gold856 pushed a commit that referenced this pull request Jan 7, 2026
## Description

This bumps our actions to versions that use Node 24, instead of 20. Node
20 [enters EOL in April 2026](https://endoflife.date/nodejs).

This PR also includes various cleanups that should speed up CI, and make
it less complicated. This includes removing the architecture field from
setup-java, as it detects the native architecture.

We also upload our Gradle dependencies for charting in GitHub, this
helps us keep track of what we're using, and if we need to upgrade.

Finally, we bump the version of our image, to fix issues with the Rubik
Pi fan among other reasons.

continuation of #2194

supercedes #2276

## Meta

Merge checklist:
- [x] Pull Request title is [short, imperative
summary](https://cbea.ms/git-commit/) of proposed changes
- [x] The description documents the _what_ and _why_
- [ ] If this PR changes behavior or adds a feature, user documentation
is updated
- [ ] If this PR touches photon-serde, all messages have been
regenerated and hashes have not changed unexpectedly
- [ ] If this PR touches configuration, this is backwards compatible
with settings back to v2025.3.2
- [ ] If this PR touches pipeline settings or anything related to data
exchange, the frontend typing is updated
- [ ] If this PR addresses a bug, a regression test for it is added
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants