Bumps [`@grafana/create-plugin`](https://github.com/grafana/plugin-tools/tree/main/packages/create-plugin) configuration from 4.2.1 to 5.26.4. **Notes for reviewer:** This is an auto-generated PR which ran `@grafana/create-plugin update`. Please consult the create-plugin [CHANGELOG.md](https://github.com/grafana/plugin-tools/blob/main/packages/create-plugin/CHANGELOG.md) to understand what may have changed. Please review the changes thoroughly before merging. --------- Co-authored-by: grafana-plugins-platform-bot[bot] <144369747+grafana-plugins-platform-bot[bot]@users.noreply.github.com> Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
39 lines
1.0 KiB
YAML
39 lines
1.0 KiB
YAML
name: Plugins - CD
|
|
run-name: Deploy ${{ inputs.branch }} to ${{ inputs.environment }} by @${{ github.actor }}
|
|
permissions:
|
|
attestations: write
|
|
contents: write
|
|
id-token: write
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
branch:
|
|
description: Branch to publish from. Can be used to deploy PRs to dev
|
|
default: main
|
|
environment:
|
|
description: Environment to publish to
|
|
required: true
|
|
type: choice
|
|
options:
|
|
- 'dev'
|
|
- 'ops'
|
|
- 'prod'
|
|
docs-only:
|
|
description: Only publish docs, do not publish the plugin
|
|
default: false
|
|
type: boolean
|
|
|
|
jobs:
|
|
cd:
|
|
name: CD
|
|
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@main
|
|
with:
|
|
go-version: '1.25'
|
|
golangci-lint-version: '2.4.0'
|
|
branch: ${{ github.event.inputs.branch }}
|
|
environment: ${{ github.event.inputs.environment }}
|
|
docs-only: ${{ fromJSON(github.event.inputs.docs-only) }}
|
|
github-draft-release: false
|
|
run-playwright: true
|