-
Notifications
You must be signed in to change notification settings - Fork 206
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
Auto-update plugin docs versions #3298
Auto-update plugin docs versions #3298
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you been able to test this at all?
on: | ||
schedule: | ||
- cron: '0 9 * * *' | ||
workflow_dispatch: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this line do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That apparently allows manual triggering of the action
62103a1
to
a2dabed
Compare
I haven't... yolo? Will revert if it's not working! |
Oh, I just saw your "Not really sure how to test it!" comment. In theory you could save (most of) the shell commands as a script and run it locally, but practically I don't think this can do much harm so we can just test "in prod" as it were |
Ah good point! The file update part at least seems to do the job:
|
f6c545b
into
thought-machine:master
This replaces the docs plugin version lint action with a cron job that runs every morning at 9 that should create a pull request to update the versions if needed. Not really sure how to test it!