From f4010007a465a279c68da67b209a2133cc9da7cb Mon Sep 17 00:00:00 2001 From: marcsanmi Date: Thu, 25 Apr 2024 08:54:14 +0200 Subject: [PATCH] chore: Add automated releases --- .github/workflows/automated_release.yaml | 11 +++++++++++ .github/workflows/trigger_prerelease.yml | 20 -------------------- 2 files changed, 11 insertions(+), 20 deletions(-) create mode 100644 .github/workflows/automated_release.yaml diff --git a/.github/workflows/automated_release.yaml b/.github/workflows/automated_release.yaml new file mode 100644 index 0000000..b8b2f19 --- /dev/null +++ b/.github/workflows/automated_release.yaml @@ -0,0 +1,11 @@ +name: Automated release creation + +on: + workflow_dispatch: + schedule: + - cron: "30 7 * * 2" + +jobs: + release_management: + uses: newrelic/coreint-automation/.github/workflows/reusable_release_automation.yaml@v3 + secrets: inherit diff --git a/.github/workflows/trigger_prerelease.yml b/.github/workflows/trigger_prerelease.yml index 824e7bc..e69de29 100644 --- a/.github/workflows/trigger_prerelease.yml +++ b/.github/workflows/trigger_prerelease.yml @@ -1,20 +0,0 @@ -name: Trigger prerelease creation - -# This workflow triggers a prerelease creation with changelog and the release notes created by the release toolkit. -# This workflow should be triggered merely from the default branch. -# If you wish to be 100% free creating a prerelease, just create it manually. - -on: - workflow_dispatch: - schedule: - - cron: "30 7 * * 2" - -jobs: - prerelease: - uses: newrelic/coreint-automation/.github/workflows/trigger_prerelease.yaml@v3 - secrets: - bot_token: ${{ secrets.COREINT_BOT_TOKEN }} - slack_channel: ${{ secrets.COREINT_SLACK_CHANNEL }} - slack_token: ${{ secrets.COREINT_SLACK_TOKEN }} - with: - rt-included-files: go.mod,go.sum,build/Dockerfile