-
Notifications
You must be signed in to change notification settings - Fork 11
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
Documentation: PR Checklist or CI Actions for a date stamp update/reminder #184
Comments
Solution 1 sounds a bit complicated.
I think I could create a CICD check on merge with main to make sure at
least one of the blog post dates is within 2 days of the current day.
WDYT?
…On Mon, Jun 17, 2024 at 1:34 PM Ben Straub ***@***.***> wrote:
Let us know where something needs a refresh or put your idea here!
A posts date usually is the date it was started by the author. We tend to
forget to update the date once merged in and published. The blog then sorts
the posts by date and our most recent post is buried.
Two possible solutions:
1. A CI Action could be used to automatically change the date stamp of
the file to the date of the Merge?
2. A new checkbox in the PR Checklist for reviewers and creators of
the post to check.
@StefanThoma <https://github.com/StefanThoma> maybe cool CI action to
implement?
—
Reply to this email directly, view it on GitHub
<#184>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJUWWERPCLF7B3NW4EVQHI3ZH3CVZAVCNFSM6AAAAABJN2GLQ2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2TOMJRHA3TGMI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
That sounds cool and practical to me!! |
Honestly - I would hunt around in the marketplace and other repos as I am sure this has been solved already. |
I think it would be fairly easy to write an action for this, similar to #196. The only hurdle I can foresee is how to control when the action fires and when it does not, because we may have instances when we merge something onto |
You could also just check whether a new folder in |
My thought was that it might be a bit obscure then. Asking users to put "[Blog post]" in their PR title at least then gives them a hint as to why to the date might be changing. |
* #184 first draft of post date auto update * #184 fix workflow * #184 fix workflow * #184 move checking file * #184 rename job * #184 Updated documentation * #184 chore: styler * Update R/create_blogpost.R * Update R/readme.md * #184 update workflow to actually push to main * #184 added dependency for publishing job
Let us know where something needs a refresh or put your idea here!
A posts date usually is the date it was started by the author. We tend to forget to update the date once merged in and published. The blog then sorts the posts by date and our most recent post is buried.
Two possible solutions:
@StefanThoma maybe cool CI action to implement?
The text was updated successfully, but these errors were encountered: