From bffd626907d176315a4f0020c52e1151abc549c7 Mon Sep 17 00:00:00 2001 From: JonathanHallam Date: Wed, 25 Sep 2024 10:09:16 +0100 Subject: [PATCH] Add autorelease workflow This will allow the gem to release patch versions when dependencies are updated. This will reduce some toil for the team. --- .github/workflows/autorelease.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/workflows/autorelease.yml diff --git a/.github/workflows/autorelease.yml b/.github/workflows/autorelease.yml new file mode 100644 index 0000000..9e097a8 --- /dev/null +++ b/.github/workflows/autorelease.yml @@ -0,0 +1,10 @@ +on: + workflow_dispatch: {} + schedule: + - cron: '30 10 * * 1-5' # 10:30am UTC, Mon-Fri. + +jobs: + autorelease: + uses: alphagov/govuk-infrastructure/.github/workflows/autorelease-rubygem.yml@main + secrets: + GH_TOKEN: ${{ secrets.GOVUK_CI_GITHUB_API_TOKEN }} \ No newline at end of file