Skip to content

Add workflow to update audit expiry #4186

Description

@GCHQ-Developer-530

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/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions