Closed rcantin-w closed 2 weeks ago
Depends on https://github.com/wellcomecollection/platform/issues/5752 being done
Changes are deployed so we'll see when we get back if it ran at 8am.
The action worked the last few days 👍 people were told about the change in Slack and we've tweaked the schedule to be earlier to account for BST/GMT (will now run at 4UTC)
Prismic linting is a Buildkite task that runs on every branch's every commit that is pushed to Github. It's also triggered every 20 minutes of office hours. I believe that it is not necessary. The linting report get consulted at most once a day, so putting this on a once a day schedule instead would be a better use of resources.
The script currently scours the Prismic data for these checks;
sameAs
field which is used to generate links to their pages elsewhere, e.g. social media or organisation websites.I don't think any of this requires the script to be run that often.
Had a chat with @kenoir, he's expressed interest in taking it away from Buildkite into a Github action. This would also mean having to set up appropriate AWS access for Github actions in the wc.org repo, which would probably be useful in the future anyway. That has been done before in other repos so there is a reference available.