Closed lloydchang closed 1 year ago
Hey, could I take over this issue? @lloydchang Please assign me.
@Komal914 Sorry that GitHub wasn't clear.
In this issue, it says:
lloydchang linked a pull request 5 days ago that will close this issue ci(update-license.yaml): add automation to change copyright years #382
because I had implemented it via https://github.com/freeCodeCamp/classroom/pull/382
Ask: Would you like to read the pull request https://github.com/freeCodeCamp/classroom/pull/382 and ask me questions, if you have any, about it?
Thanks!
Describe the issue Automate the updating of copyright years from 2021 to 2024/2025/etc. in LICENSE.md and README.md
To Reproduce Steps to reproduce the behavior:
Copyright © 2021 freeCodeCamp.org
Expected behavior It should change next year to
Copyright © 2024 freeCodeCamp.org
followed by another change in the subsequent year toCopyright © 2025 freeCodeCamp.org
Instead of doing this manually, can this be automated?
For example, add a new file:
https://github.com/lloydchang/freeCodeCamp-classroom/new/copyright-years/.github/workflows/update-license.yaml
Additional context
This is similar to feat(workflow): create update license yearly action #49115 https://github.com/freeCodeCamp/freeCodeCamp/pull/49115
https://github.com/FantasticFiasco/action-update-license-year is a GitHub Action that updates the copyright year.
This is an automated technique similar to
https://github.com/FantasticFiasco/action-update-license-year#super-simple-to-use
and
https://github.com/freeCodeCamp/freeCodeCamp/blob/main/.github/workflows/update-license.yaml