diff --git a/.github/workflows/releaser-signoz.yaml b/.github/workflows/releaser-signoz.yaml new file mode 100644 index 0000000000..8b061b7227 --- /dev/null +++ b/.github/workflows/releaser-signoz.yaml @@ -0,0 +1,27 @@ +name: releaser-signoz + +on: + # schedule every wednesday 9:30 AM UTC (3pm IST) + schedule: + - cron: '30 9 * * 3' + + # allow manual triggering of the workflow by a maintainer with no inputs + workflow_dispatch: + inputs: + release_type: + description: "Type of the release" + type: choice + required: true + options: + - 'patch' + - 'minor' + - 'major' + +jobs: + signoz: + uses: signoz/primus.workflows/.github/workflows/releaser.yaml@main + secrets: inherit + with: + PRIMUS_REF: main + PROJECT_NAME: signoz + RELEASE_TYPE: ${{ inputs.release_type || 'minor' }} diff --git a/.github/workflows/releaser.yaml b/.github/workflows/releaser.yaml deleted file mode 100644 index 51e18cc263..0000000000 --- a/.github/workflows/releaser.yaml +++ /dev/null @@ -1,16 +0,0 @@ -name: releaser - -on: - # schedule every wednesday 9:30 AM UTC (3pm IST) - schedule: - - cron: '30 9 * * 3' - - # allow manual triggering of the workflow by a maintainer with no inputs - workflow_dispatch: {} - -jobs: - releaser: - uses: signoz/primus.workflows/.github/workflows/releaser-signoz.yaml@main - secrets: inherit - with: - PRIMUS_REF: main