mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 11:09:09 +08:00
feat(releaser): update releaser workflow based on new enhancements (#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>
This commit is contained in:
parent
6e27df9dcb
commit
50db3cc39f
27
.github/workflows/releaser-signoz.yaml
vendored
Normal file
27
.github/workflows/releaser-signoz.yaml
vendored
Normal file
@ -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
.github/workflows/releaser.yaml
vendored
16
.github/workflows/releaser.yaml
vendored
@ -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
|
Loading…
x
Reference in New Issue
Block a user