From c463631c38e6f7aa97b2c8c146712a51ce008c8e Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Mon, 9 Jan 2023 12:11:52 -0500 Subject: [PATCH] Run a release monthly (#1039) --- .github/workflows/release.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000000..32beb52af7 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,22 @@ +name: Create monthly release +on: + workflow_dispatch: + schedule: + - cron: "0 0 1 * *" + +jobs: + release: + permissions: + contents: write + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Get current date + id: date + run: echo "::set-output name=tag::$(date +'%b-%Y')" + - name: Release + uses: softprops/action-gh-release@v1 + with: + generate_release_notes: true + tag_name: "${{ steps.date.outputs.tag }}"