hackforla / hackforla/CivicTechJobs
Migrate github actions to v4
- Dominant language
- TypeScript
- Stars
- 24
- Forks
- 27
- Avg merge
- 2m
- Merged PRs (30d)
- 1
Description
### Overview
As a developer, our github actions should be fully functional in order to maintain effective CI/CD flows.
From Karen on slack:
> Hi Dev team! I received this message from GitHub that I think pertains to some of the GitHub Actions we had in our workflow.
>
> Artifact actions v3 will be deprecated by December 5, 2024. You are receiving this email because you have GitHub Actions workflows using v3 of [actions/upload-artifact](https://app.github.media/e/er?s=88570519&lid=6648&elqTrackId=d2da2b8a2e2546f6bbbefc4362a25248&elq=fd59c442e2e34b2bb6d748a592776b3e&elqaid=4245&elqat=1&elqak=8AF5A79567D1D842C6394C4E2A26BD2485A9716ACBCA840193EAB37A05302CA5EC69) or [actions/download-artifact](https://app.github.media/e/er?s=88570519&lid=6647&elqTrackId=a0c373a95cb941a69247c326aef08dfe&elq=fd59c442e2e34b2bb6d748a592776b3e&elqaid=4245&elqat=1&elqak=8AF5A416F3461CA0C91DF8AF94CEC73EC20A716ACBCA840193EAB37A05302CA5EC69). After this date using v3 of these actions will result in a workflow failure. Artifacts within their retention period will remain accessible from the UI or REST API regardless of the version used to upload.
> To raise awareness of the upcoming removal, we will temporarily fail jobs using v3 of actions/upload-artifact or actions/download-artifact. Builds that are scheduled to run during the brownout periods will fail. The brownouts are scheduled for the following dates and times:
> November 14, 12pm - 1pm EST
> November 21, 9am - 5pm EST
> What you need to do
> Update workflows to begin using v4 of the artifact actions as soon as possible. While v4 improves upload and download speeds by up to 98% and includes several new features, there are [key differences](https://app.github.media/e/er?s=88570519&lid=6646&elqTrackId=d75d31293f0e47148c8f2a339957fcaf&elq=fd59c442e2e34b2bb6d748a592776b3e&elqaid=4245&elqat=1&elqak=8AF52EF15428B1DCF971E377BBEBF230341A716ACBCA840193EAB37A05302CA5EC69) from previous versions that may require updates to your workflows. Please see [the documentation](https://app.github.media/e/er?s=88570519&lid=6645&elqTrackId=53ce96ddadbb4fe1951a5a31db6a10b3&elq=fd59c442e2e34b2bb6d748a592776b3e&elqaid=4245&elqat=1&elqak=8AF5B7CF2FDD10084FA269DD666DEC9DD40F716ACBCA840193EAB37A05302CA5EC69) in the project repositories for guidance on how to migrate your workflows.
### Action Items
Github actions effected:
- [ ] `build-deploy-stage.yml`
- [ ] `codeql-analysis.yml`
- [ ] `linter.yml`
- [ ] Search for the following text: `@v3` to find v3 actions. Example: `actions/checkout@v3`
### Resources/Instructions
[Resources](https://hackforla.github.io/CivicTechJobs/resources/)
Contributor guide
Assessment
This issue has not been assessed yet.