Summary
After this PR contribution, we will have a script that we can manually run to update the audit expiry dates. However, these sometimes catch us out. It would be good if we could have a workflow that runs daily and checks if npm run audit-expiry fails, and then if it does, run the new audit:update script.
💬 Description
List of actions the workflow should do:
- Run
npm run audit-expiry
- Run
npm run audit:update
- Commit those changes to
chore(root)
- Create a PR to develop
💰 Use value
It would save developers a job that happens monthly.
🚨 Urgency (low, medium or high)
Low
Additional info
I've suggested running the workflow daily, but realistically if we keep adding a month to the date then the day won't actually change so we could just run it every 25th.
Looks like we can use schedule cron - https://jasonet.co/posts/scheduled-actions/
Summary
After this PR contribution, we will have a script that we can manually run to update the audit expiry dates. However, these sometimes catch us out. It would be good if we could have a workflow that runs daily and checks if
npm run audit-expiryfails, and then if it does, run the newaudit:updatescript.💬 Description
List of actions the workflow should do:
npm run audit-expirynpm run audit:updatechore(root)💰 Use value
It would save developers a job that happens monthly.
🚨 Urgency (low, medium or high)
Low
Additional info
I've suggested running the workflow daily, but realistically if we keep adding a month to the date then the day won't actually change so we could just run it every 25th.
Looks like we can use schedule cron - https://jasonet.co/posts/scheduled-actions/