Skip to content

Commit

Permalink
feat(releaser): update releaser workflow based on new enhancements (#…
Browse files Browse the repository at this point in the history
…6729)

* feat(releaser): update releaser workflow based on new enhancements
* ci(releaser): set release type to minor if run by cron schedule
* feat(releaser): pass signoz project name for releaser

---------

Signed-off-by: Prashant Shahi <prashant@signoz.io>
  • Loading branch information
prashant-shahi authored Dec 27, 2024
1 parent 6e27df9 commit 50db3cc
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 16 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/releaser-signoz.yaml
Original file line number Diff line number Diff line change
@@ -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' }}
16 changes: 0 additions & 16 deletions .github/workflows/releaser.yaml

This file was deleted.

0 comments on commit 50db3cc

Please sign in to comment.