- Removes dependabot.yml as renovate will update grafana-sdk for us - Migrates to `create-github-app-token` - Pin workflows - Removes is-compatible.yml I found that workflow not helping much but creating an annoyingly long comment Fixes https://github.com/grafana/oss-big-tent-squad/issues/144
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@ci-cd-workflows/v4.3.0
|
|
with:
|
|
golangci-lint-version: '2.7.2'
|
|
go-version: '1.25.5'
|
|
branch: ${{ github.event.inputs.branch }}
|
|
environment: ${{ github.event.inputs.environment }}
|
|
docs-only: ${{ fromJSON(github.event.inputs.docs-only) }}
|
|
run-playwright: true
|
|
github-draft-release: false
|