Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Changelog

## [4.0.0](https://github.com/grafana/plugin-ci-workflows/compare/ci-cd-workflows/v3.2.0...ci-cd-workflows/v4.0.0) (2025-10-16)


### ⚠ BREAKING CHANGES

* move unexported actions to `internal` folder ([#338](https://github.com/grafana/plugin-ci-workflows/issues/338))

### πŸŽ‰ Features

* adding a non-required input called signature-type ([#356](https://github.com/grafana/plugin-ci-workflows/issues/356)) ([4c800de](https://github.com/grafana/plugin-ci-workflows/commit/4c800dee4b72ceff1816693f74c22fd557be27c4))


### ♻️ Code Refactoring

* move unexported actions to `internal` folder ([#338](https://github.com/grafana/plugin-ci-workflows/issues/338)) ([46a32e8](https://github.com/grafana/plugin-ci-workflows/commit/46a32e8d3c688e39345a945ca835d636e0e5c9a4))


### πŸ”§ Chores

* **main:** release plugins-release-please 1.0.0 ([#357](https://github.com/grafana/plugin-ci-workflows/issues/357)) ([cdbd54b](https://github.com/grafana/plugin-ci-workflows/commit/cdbd54b803f39ed605a3b2d33c2590a045aee2e0))

## [3.2.0](https://github.com/grafana/plugin-ci-workflows/compare/ci-cd-workflows/v3.1.0...ci-cd-workflows/v3.2.0) (2025-10-14)


Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ jobs:

ci:
name: CI
uses: grafana/plugin-ci-workflows/.github/workflows/ci.yml@plugins-release-please/v1.0.0
uses: grafana/plugin-ci-workflows/.github/workflows/ci.yml@ci-cd-workflows/v4.0.0
needs:
- setup
with:
Expand Down Expand Up @@ -608,7 +608,7 @@ jobs:
ENVIRONMENT: ${{ matrix.environment }}

- name: Check and create stub
uses: grafana/plugin-ci-workflows/actions/internal/plugins/publish/check-and-create-stub@plugins-release-please/v1.0.0
uses: grafana/plugin-ci-workflows/actions/internal/plugins/publish/check-and-create-stub@ci-cd-workflows/v4.0.0
if: ${{ matrix.environment != 'prod' && matrix.environment != 'prod-canary' }}
with:
plugin-id: ${{ fromJSON(needs.ci.outputs.plugin).id }}
Expand All @@ -617,13 +617,13 @@ jobs:
gcloud-auth-token: ${{ steps.gcloud.outputs.id_token }}

- name: Check artifact ZIP(s)
uses: grafana/plugin-ci-workflows/actions/internal/plugins/publish/check-artifacts@plugins-release-please/v1.0.0
uses: grafana/plugin-ci-workflows/actions/internal/plugins/publish/check-artifacts@ci-cd-workflows/v4.0.0
with:
zips: ${{ needs.upload-to-gcs-release.outputs.gcs-zip-urls }}
plugin-id: ${{ fromJSON(needs.ci.outputs.plugin).id }}

- name: Publish to catalog
uses: grafana/plugin-ci-workflows/actions/plugins/publish/publish@plugins-release-please/v1.0.0
uses: grafana/plugin-ci-workflows/actions/plugins/publish/publish@ci-cd-workflows/v4.0.0
with:
zips: ${{ needs.upload-to-gcs-release.outputs.gcs-zip-urls }}
environment: ${{ matrix.environment == 'prod-canary' && 'prod' || matrix.environment }}
Expand Down Expand Up @@ -935,7 +935,7 @@ jobs:
owner: ${{ github.repository_owner }}

- name: Publish docs
uses: grafana/plugin-ci-workflows/actions/internal/plugins/docs/publish@plugins-release-please/v1.0.0
uses: grafana/plugin-ci-workflows/actions/internal/plugins/docs/publish@ci-cd-workflows/v4.0.0
with:
id: ${{ fromJSON(needs.ci.outputs.plugin).id }}
version: ${{ fromJSON(needs.ci.outputs.plugin).version }}
Expand Down Expand Up @@ -972,7 +972,7 @@ jobs:

- name: Parse changelog
id: changelog
uses: grafana/plugin-ci-workflows/actions/internal/plugins/changelog@plugins-release-please/v1.0.0
uses: grafana/plugin-ci-workflows/actions/internal/plugins/changelog@ci-cd-workflows/v4.0.0
with:
changelog-path: ${{ inputs.plugin-directory }}/CHANGELOG.md

Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ jobs:
INPUT_TESTING: ${{ inputs.testing }}

- name: Setup
uses: grafana/plugin-ci-workflows/actions/internal/plugins/setup@plugins-release-please/v1.0.0
uses: grafana/plugin-ci-workflows/actions/internal/plugins/setup@ci-cd-workflows/v4.0.0
with:
# The priority to setup the node version is:
# 1. inputs.node-version
Expand Down Expand Up @@ -381,7 +381,7 @@ jobs:
working-directory: ${{ inputs.plugin-directory }}

- name: Test and build frontend
uses: grafana/plugin-ci-workflows/actions/internal/plugins/frontend@plugins-release-please/v1.0.0
uses: grafana/plugin-ci-workflows/actions/internal/plugins/frontend@ci-cd-workflows/v4.0.0
with:
package-manager: ${{ inputs.package-manager }}
plugin-directory: ${{ inputs.plugin-directory }}
Expand All @@ -390,15 +390,15 @@ jobs:

- name: Test and build backend
if: ${{ steps.check-for-backend.outputs.has-backend == 'true' }}
uses: grafana/plugin-ci-workflows/actions/internal/plugins/backend@plugins-release-please/v1.0.0
uses: grafana/plugin-ci-workflows/actions/internal/plugins/backend@ci-cd-workflows/v4.0.0
with:
github-token: ${{ steps.generate-github-token.outputs.token }}
plugin-directory: ${{ inputs.plugin-directory }}
secrets: ${{ (fromJson(steps.workflow-context.outputs.result).isTrusted && inputs.backend-secrets != '') && inputs.backend-secrets || '' }}

- name: Package universal ZIP
id: universal-zip
uses: grafana/plugin-ci-workflows/actions/internal/plugins/package@plugins-release-please/v1.0.0
uses: grafana/plugin-ci-workflows/actions/internal/plugins/package@ci-cd-workflows/v4.0.0
with:
universal: "true"
dist-folder: dist
Expand All @@ -409,7 +409,7 @@ jobs:

- name: Package os/arch ZIPs
id: os-arch-zips
uses: grafana/plugin-ci-workflows/actions/internal/plugins/package@plugins-release-please/v1.0.0
uses: grafana/plugin-ci-workflows/actions/internal/plugins/package@ci-cd-workflows/v4.0.0
with:
universal: "false"
dist-folder: dist
Expand All @@ -420,7 +420,7 @@ jobs:

- name: Trufflehog secrets scanning
if: ${{ inputs.run-trufflehog == true }}
uses: grafana/plugin-ci-workflows/actions/internal/plugins/trufflehog@plugins-release-please/v1.0.0
uses: grafana/plugin-ci-workflows/actions/internal/plugins/trufflehog@ci-cd-workflows/v4.0.0
with:
trufflehog-version: ${{ inputs.trufflehog-version || env.DEFAULT_TRUFFLEHOG_VERSION }}
folder: dist-artifacts
Expand Down Expand Up @@ -490,11 +490,11 @@ jobs:
shell: bash

- name: Test docs
uses: grafana/plugin-ci-workflows/actions/internal/plugins/docs/test@plugins-release-please/v1.0.0
uses: grafana/plugin-ci-workflows/actions/internal/plugins/docs/test@ci-cd-workflows/v4.0.0

playwright:
name: Playwright E2E tests
uses: grafana/plugin-ci-workflows/.github/workflows/playwright.yml@plugins-release-please/v1.0.0
uses: grafana/plugin-ci-workflows/.github/workflows/playwright.yml@ci-cd-workflows/v4.0.0
if: ${{ inputs.run-playwright == true }}
needs:
- test-and-build
Expand All @@ -516,7 +516,7 @@ jobs:

playwright-docker:
name: Plugins - Dockerized Playwright E2E tests
uses: grafana/plugin-ci-workflows/.github/workflows/playwright-docker.yml@plugins-release-please/v1.0.0
uses: grafana/plugin-ci-workflows/.github/workflows/playwright-docker.yml@ci-cd-workflows/v4.0.0
if: ${{ inputs.run-playwright-docker == true }}
needs:
- test-and-build
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"actions/plugins/publish/publish": "2.0.0",
".github/workflows": "3.2.0",
".github/workflows": "4.0.0",
"actions/plugins/version-bump-changelog": "1.1.0",
"actions/plugins/publish/change-plugin-scope": "1.0.0",
"actions/plugins/release-please": "1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/base/provisioned-plugin-auto-cd/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ permissions: {}
jobs:
cd:
name: CD
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v3.2.0
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v4.0.0
permissions:
contents: write
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion examples/base/provisioned-plugin-auto-cd/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions: {}
jobs:
cd:
name: CI / CD
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v3.2.0
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v4.0.0
permissions:
contents: write
id-token: write
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ permissions: {}
jobs:
cd:
name: CD
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v3.2.0
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v4.0.0
permissions:
contents: write
id-token: write
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions: {}
jobs:
ci:
name: CI
uses: grafana/plugin-ci-workflows/.github/workflows/ci.yml@ci-cd-workflows/v3.2.0
uses: grafana/plugin-ci-workflows/.github/workflows/ci.yml@ci-cd-workflows/v4.0.0
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion examples/base/simple/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ permissions: {}
jobs:
cd:
name: CD
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v3.2.0
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v4.0.0
permissions:
contents: write
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion examples/base/simple/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions: {}
jobs:
ci:
name: CI
uses: grafana/plugin-ci-workflows/.github/workflows/ci.yml@ci-cd-workflows/v3.2.0
uses: grafana/plugin-ci-workflows/.github/workflows/ci.yml@ci-cd-workflows/v4.0.0
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion examples/extra/change-plugin-scope.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
ENVIRONMENT: ${{ env.ENVIRONMENT }}

- name: Change plugin scope
uses: grafana/plugin-ci-workflows/actions/plugins/publish/change-plugin-scope@ci-cd-workflows/v3.2.0
uses: grafana/plugin-ci-workflows/actions/plugins/publish/change-plugin-scope@ci-cd-workflows/v4.0.0
with:
plugin-id: ${{ env.PLUGIN_ID }}
plugin-version: ${{ inputs.plugin_version }}
Expand Down