Skip to content
This repository was archived by the owner on Nov 3, 2026. It is now read-only.

Run the copyright update once a year - #617

Draft
jwrosewell wants to merge 1 commit into
mainfrom
ci/copyright-yearly
Draft

jwrosewell wants to merge 1 commit into
mainfrom
ci/copyright-yearly

Conversation

@jwrosewell

Copy link
Copy Markdown
Contributor

The copyright update ran on the first of every month, but the copyright year only changes once a year. This moves the schedule in .github/workflows/monthly-copyright-update.yml from 0 0 1 * * to 0 0 1 1 *, which is 00:00 UTC on 1 January, using the same two lines as 51degrees-cxx. The comment above the old line, which said why the cron string is quoted, gives way to the one saying why it runs yearly. The manual start stays, and the file keeps its name, as in 51degrees-cxx.

GitHub reads the five cron fields as minute, hour, day of the month, month and day of the week, so 0 0 1 1 * runs once a year on 1 January. The schedule cannot be exercised before then, and no build covers this file.

The copyright year only changes once a year, so the schedule moves from
00:00 UTC on the first of every month to 00:00 UTC on 1 January, with the
same two lines as 51degrees-cxx. The manual start stays.

This branch has not been deployed

No deployments
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant