Skip to content

Commit a62bf1e

Browse files
chore(main): release ci-cd-workflows 6.0.0 (#487)
Co-authored-by: grafana-plugins-platform-bot[bot] <144369747+grafana-plugins-platform-bot[bot]@users.noreply.github.com>
1 parent 0a4cd3d commit a62bf1e

13 files changed

Lines changed: 56 additions & 26 deletions

File tree

.github/workflows/CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
# Changelog
22

3+
## [6.0.0](https://github.com/grafana/plugin-ci-workflows/compare/ci-cd-workflows/v5.1.0...ci-cd-workflows/v6.0.0) (2026-01-19)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* **playwright:** remove version and image arguments ([#507](https://github.com/grafana/plugin-ci-workflows/issues/507))
9+
* **cd:** allow releasing to prod from non-main branches ([#378](https://github.com/grafana/plugin-ci-workflows/issues/378))
10+
11+
### 🎉 Features
12+
13+
* **cd:** allow releasing to prod from non-main branches ([#378](https://github.com/grafana/plugin-ci-workflows/issues/378)) ([e1cf5f6](https://github.com/grafana/plugin-ci-workflows/commit/e1cf5f6083704fd837f4ec11761dd397b74f0929))
14+
* **ci:** add warning when ci and cd workflows are not on the same reference ([#492](https://github.com/grafana/plugin-ci-workflows/issues/492)) ([4e9ca04](https://github.com/grafana/plugin-ci-workflows/commit/4e9ca04ed0b13a33baf41d6cd53ce6fedb8cf683))
15+
* **ci:** support react image in e2e matrix ([#496](https://github.com/grafana/plugin-ci-workflows/issues/496)) ([6d8cb8c](https://github.com/grafana/plugin-ci-workflows/commit/6d8cb8c5240cc11619c221beb201ee07e5ee855c))
16+
* **playwright:** remove version and image arguments ([#507](https://github.com/grafana/plugin-ci-workflows/issues/507)) ([f70e822](https://github.com/grafana/plugin-ci-workflows/commit/f70e82266068fbe7cdfa97a5120d4e616ab1275f))
17+
18+
19+
### ✅ Tests
20+
21+
* **act:** add gcom mock, cd.yml changes for testing ([#501](https://github.com/grafana/plugin-ci-workflows/issues/501)) ([e3f1779](https://github.com/grafana/plugin-ci-workflows/commit/e3f1779be66d8a2c7051adb0a42beb73184c5bea))
22+
* **act:** fix validator tests ([#506](https://github.com/grafana/plugin-ci-workflows/issues/506)) ([3c93dda](https://github.com/grafana/plugin-ci-workflows/commit/3c93dda78df9f6ac587e2c7e116ac7b1e04627a3))
23+
24+
25+
### 🔧 Chores
26+
27+
* **ci:** run golangci-lint on internal go packages ([#485](https://github.com/grafana/plugin-ci-workflows/issues/485)) ([303148f](https://github.com/grafana/plugin-ci-workflows/commit/303148fcc64f3ecbca42d2eda4142dceafa2296b))
28+
* **deps:** update actions/attest-build-provenance action to v3.1.0 ([#484](https://github.com/grafana/plugin-ci-workflows/issues/484)) ([ba9c56e](https://github.com/grafana/plugin-ci-workflows/commit/ba9c56e2992bc28da40bce896349d7122c03e3f1))
29+
* **deps:** update actions/cache action to v5 ([#481](https://github.com/grafana/plugin-ci-workflows/issues/481)) ([3eaee5a](https://github.com/grafana/plugin-ci-workflows/commit/3eaee5a68d81c66037d8ba723d4070cb0e1be850))
30+
* **deps:** update stefanzweifel/git-auto-commit-action action to v7.1.0 ([#483](https://github.com/grafana/plugin-ci-workflows/issues/483)) ([f9a22aa](https://github.com/grafana/plugin-ci-workflows/commit/f9a22aa89487aa54a299a0c3b1e59e0832b7a0b9))
31+
* **deps:** update step-security/harden-runner action to v2.14.0 ([#477](https://github.com/grafana/plugin-ci-workflows/issues/477)) ([cdab179](https://github.com/grafana/plugin-ci-workflows/commit/cdab179fe05abb011a6b236c45426d4c6004f8af))
32+
333
## [5.1.0](https://github.com/grafana/plugin-ci-workflows/compare/ci-cd-workflows/v5.0.0...ci-cd-workflows/v5.1.0) (2026-01-07)
434

535

.github/workflows/cd.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ jobs:
562562

563563
ci:
564564
name: CI
565-
uses: grafana/plugin-ci-workflows/.github/workflows/ci.yml@main
565+
uses: grafana/plugin-ci-workflows/.github/workflows/ci.yml@ci-cd-workflows/v6.0.0
566566
needs:
567567
- setup
568568
with:
@@ -719,7 +719,7 @@ jobs:
719719

720720
- name: Check and create stub
721721
id: check-and-create-stub
722-
uses: grafana/plugin-ci-workflows/actions/internal/plugins/publish/check-and-create-stub@main
722+
uses: grafana/plugin-ci-workflows/actions/internal/plugins/publish/check-and-create-stub@ci-cd-workflows/v6.0.0
723723
if: ${{ matrix.environment != 'prod' && matrix.environment != 'prod-canary' }}
724724
with:
725725
plugin-id: ${{ fromJSON(needs.ci.outputs.plugin).id }}
@@ -730,13 +730,13 @@ jobs:
730730

731731
- name: Check artifact ZIP(s)
732732
id: check-artifact-zips
733-
uses: grafana/plugin-ci-workflows/actions/internal/plugins/publish/check-artifacts@main
733+
uses: grafana/plugin-ci-workflows/actions/internal/plugins/publish/check-artifacts@ci-cd-workflows/v6.0.0
734734
with:
735735
zips: ${{ needs.upload-to-gcs-release.outputs.gcs-zip-urls }}
736736
plugin-id: ${{ fromJSON(needs.ci.outputs.plugin).id }}
737737

738738
- name: Publish to catalog
739-
uses: grafana/plugin-ci-workflows/actions/plugins/publish/publish@main
739+
uses: grafana/plugin-ci-workflows/actions/plugins/publish/publish@ci-cd-workflows/v6.0.0
740740
with:
741741
zips: ${{ needs.upload-to-gcs-release.outputs.gcs-zip-urls }}
742742
environment: ${{ matrix.environment == 'prod-canary' && 'prod' || matrix.environment }}
@@ -1051,7 +1051,7 @@ jobs:
10511051
owner: ${{ github.repository_owner }}
10521052

10531053
- name: Publish docs
1054-
uses: grafana/plugin-ci-workflows/actions/internal/plugins/docs/publish@main
1054+
uses: grafana/plugin-ci-workflows/actions/internal/plugins/docs/publish@ci-cd-workflows/v6.0.0
10551055
with:
10561056
id: ${{ fromJSON(needs.ci.outputs.plugin).id }}
10571057
version: ${{ fromJSON(needs.ci.outputs.plugin).version }}
@@ -1089,7 +1089,7 @@ jobs:
10891089

10901090
- name: Parse changelog
10911091
id: changelog
1092-
uses: grafana/plugin-ci-workflows/actions/internal/plugins/changelog@main
1092+
uses: grafana/plugin-ci-workflows/actions/internal/plugins/changelog@ci-cd-workflows/v6.0.0
10931093
with:
10941094
changelog-path: ${{ inputs.plugin-directory }}/CHANGELOG.md
10951095

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ env:
307307
jobs:
308308
check-for-release-channel:
309309
name: Check for release channel
310-
uses: grafana/plugin-ci-workflows/.github/workflows/check-release-channel.yml@main
310+
uses: grafana/plugin-ci-workflows/.github/workflows/check-release-channel.yml@ci-cd-workflows/v6.0.0
311311
with:
312312
DO-NOT-USE-allow-pinned-commit-hashes: ${{ inputs.DO-NOT-USE-allow-pinned-commit-hashes }}
313313

@@ -414,7 +414,7 @@ jobs:
414414

415415
- name: Setup
416416
id: setup
417-
uses: grafana/plugin-ci-workflows/actions/internal/plugins/setup@main
417+
uses: grafana/plugin-ci-workflows/actions/internal/plugins/setup@ci-cd-workflows/v6.0.0
418418
with:
419419
plugin-directory: ${{ inputs.plugin-directory }}
420420
node-version: ${{ fromJson(steps.tooling-versions.outputs.result).nodeVersion }}
@@ -488,7 +488,7 @@ jobs:
488488

489489
- name: Test and build frontend
490490
id: frontend
491-
uses: grafana/plugin-ci-workflows/actions/internal/plugins/frontend@main
491+
uses: grafana/plugin-ci-workflows/actions/internal/plugins/frontend@ci-cd-workflows/v6.0.0
492492
with:
493493
plugin-directory: ${{ inputs.plugin-directory }}
494494
secrets: ${{ (fromJson(steps.workflow-context.outputs.result).isTrusted && inputs.frontend-secrets != '') && inputs.frontend-secrets || '' }}
@@ -497,15 +497,15 @@ jobs:
497497
- name: Test and build backend
498498
id: backend
499499
if: ${{ steps.check-for-backend.outputs.has-backend == 'true' }}
500-
uses: grafana/plugin-ci-workflows/actions/internal/plugins/backend@main
500+
uses: grafana/plugin-ci-workflows/actions/internal/plugins/backend@ci-cd-workflows/v6.0.0
501501
with:
502502
github-token: ${{ steps.generate-github-token.outputs.token }}
503503
plugin-directory: ${{ inputs.plugin-directory }}
504504
secrets: ${{ (fromJson(steps.workflow-context.outputs.result).isTrusted && inputs.backend-secrets != '') && inputs.backend-secrets || '' }}
505505

506506
- name: Package universal ZIP
507507
id: universal-zip
508-
uses: grafana/plugin-ci-workflows/actions/internal/plugins/package@main
508+
uses: grafana/plugin-ci-workflows/actions/internal/plugins/package@ci-cd-workflows/v6.0.0
509509
with:
510510
universal: "true"
511511
dist-folder: ${{ inputs.plugin-directory }}/dist
@@ -516,7 +516,7 @@ jobs:
516516

517517
- name: Package os/arch ZIPs
518518
id: os-arch-zips
519-
uses: grafana/plugin-ci-workflows/actions/internal/plugins/package@main
519+
uses: grafana/plugin-ci-workflows/actions/internal/plugins/package@ci-cd-workflows/v6.0.0
520520
with:
521521
universal: "false"
522522
dist-folder: ${{ inputs.plugin-directory }}/dist
@@ -527,7 +527,7 @@ jobs:
527527

528528
- name: Trufflehog secrets scanning
529529
if: ${{ inputs.run-trufflehog == true }}
530-
uses: grafana/plugin-ci-workflows/actions/internal/plugins/trufflehog@main
530+
uses: grafana/plugin-ci-workflows/actions/internal/plugins/trufflehog@ci-cd-workflows/v6.0.0
531531
with:
532532
trufflehog-version: ${{ inputs.trufflehog-version || env.DEFAULT_TRUFFLEHOG_VERSION }}
533533
folder: ${{ inputs.plugin-directory }}/dist-artifacts
@@ -673,11 +673,11 @@ jobs:
673673
shell: bash
674674

675675
- name: Test docs
676-
uses: grafana/plugin-ci-workflows/actions/internal/plugins/docs/test@main
676+
uses: grafana/plugin-ci-workflows/actions/internal/plugins/docs/test@ci-cd-workflows/v6.0.0
677677

678678
playwright:
679679
name: Playwright E2E tests
680-
uses: grafana/plugin-ci-workflows/.github/workflows/playwright.yml@main
680+
uses: grafana/plugin-ci-workflows/.github/workflows/playwright.yml@ci-cd-workflows/v6.0.0
681681
if: ${{ inputs.run-playwright == true }}
682682
needs:
683683
- test-and-build
@@ -700,7 +700,7 @@ jobs:
700700

701701
playwright-docker:
702702
name: Plugins - Dockerized Playwright E2E tests
703-
uses: grafana/plugin-ci-workflows/.github/workflows/playwright-docker.yml@main
703+
uses: grafana/plugin-ci-workflows/.github/workflows/playwright-docker.yml@ci-cd-workflows/v6.0.0
704704
if: ${{ inputs.run-playwright-docker == true }}
705705
needs:
706706
- test-and-build

.github/workflows/playwright-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,6 @@ jobs:
168168
if: always()
169169
steps:
170170
- name: Check matrix job status
171-
uses: grafana/plugin-ci-workflows/actions/internal/check-matrix-status@main
171+
uses: grafana/plugin-ci-workflows/actions/internal/check-matrix-status@ci-cd-workflows/v6.0.0
172172
with:
173173
results: ${{ needs.playwright-tests.result }}

.github/workflows/playwright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@ jobs:
261261
if: always()
262262
steps:
263263
- name: Check matrix job status
264-
uses: grafana/plugin-ci-workflows/actions/internal/check-matrix-status@main
264+
uses: grafana/plugin-ci-workflows/actions/internal/check-matrix-status@ci-cd-workflows/v6.0.0
265265
with:
266266
results: ${{ needs.playwright-tests.result }}

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"actions/plugins/publish/publish": "2.0.1",
3-
".github/workflows": "5.1.0",
3+
".github/workflows": "6.0.0",
44
"actions/plugins/version-bump-changelog": "1.1.0",
55
"actions/plugins/publish/change-plugin-scope": "1.0.0",
66
"actions/plugins/release-please": "1.0.1",

examples/base/provisioned-plugin-auto-cd/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ permissions: {}
3232
jobs:
3333
cd:
3434
name: CD
35-
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v5.1.0
35+
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v6.0.0
3636
permissions:
3737
contents: write
3838
pull-requests: read

examples/base/provisioned-plugin-auto-cd/push.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions: {}
1717
jobs:
1818
cd:
1919
name: CI / CD
20-
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v5.1.0
20+
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v6.0.0
2121
permissions:
2222
contents: write
2323
pull-requests: read

examples/base/provisioned-plugin-manual-deployment/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ permissions: {}
3232
jobs:
3333
cd:
3434
name: CD
35-
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v5.1.0
35+
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v6.0.0
3636
permissions:
3737
contents: write
3838
pull-requests: read

examples/base/provisioned-plugin-manual-deployment/push.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions: {}
1717
jobs:
1818
ci:
1919
name: CI
20-
uses: grafana/plugin-ci-workflows/.github/workflows/ci.yml@ci-cd-workflows/v5.1.0
20+
uses: grafana/plugin-ci-workflows/.github/workflows/ci.yml@ci-cd-workflows/v6.0.0
2121
permissions:
2222
contents: read
2323
id-token: write

0 commit comments

Comments
 (0)