Skip to content

Commit e523b68

Browse files
chore(main): release ci-cd-workflows 4.0.0 (#352)
Co-authored-by: grafana-plugins-platform-bot[bot] <144369747+grafana-plugins-platform-bot[bot]@users.noreply.github.com>
1 parent f48c11a commit e523b68

File tree

11 files changed

+46
-23
lines changed

11 files changed

+46
-23
lines changed

.github/workflows/CHANGELOG.md

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

3+
## [4.0.0](https://github.com/grafana/plugin-ci-workflows/compare/ci-cd-workflows/v3.2.0...ci-cd-workflows/v4.0.0) (2025-11-03)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* move unexported actions to `internal` folder ([#338](https://github.com/grafana/plugin-ci-workflows/issues/338))
9+
10+
### 🎉 Features
11+
12+
* 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))
13+
14+
15+
### ♻️ Code Refactoring
16+
17+
* 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))
18+
19+
20+
### 🔧 Chores
21+
22+
* **deps:** update softprops/action-gh-release action to v2.4.1 ([#359](https://github.com/grafana/plugin-ci-workflows/issues/359)) ([f48c11a](https://github.com/grafana/plugin-ci-workflows/commit/f48c11a872a3d36624007f2bfad11d8278caeb0a))
23+
* **deps:** update stefanzweifel/git-auto-commit-action action to v7 ([#361](https://github.com/grafana/plugin-ci-workflows/issues/361)) ([50034ea](https://github.com/grafana/plugin-ci-workflows/commit/50034eabfee9faa714b55ef3aacbd8f1c448cd1f))
24+
* **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))
25+
326
## [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)
427

528

.github/workflows/cd.yml

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

380380
ci:
381381
name: CI
382-
uses: grafana/plugin-ci-workflows/.github/workflows/ci.yml@main
382+
uses: grafana/plugin-ci-workflows/.github/workflows/ci.yml@ci-cd-workflows/v4.0.0
383383
needs:
384384
- setup
385385
with:
@@ -608,7 +608,7 @@ jobs:
608608
ENVIRONMENT: ${{ matrix.environment }}
609609

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

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

625625
- name: Publish to catalog
626-
uses: grafana/plugin-ci-workflows/actions/plugins/publish/publish@main
626+
uses: grafana/plugin-ci-workflows/actions/plugins/publish/publish@ci-cd-workflows/v4.0.0
627627
with:
628628
zips: ${{ needs.upload-to-gcs-release.outputs.gcs-zip-urls }}
629629
environment: ${{ matrix.environment == 'prod-canary' && 'prod' || matrix.environment }}
@@ -935,7 +935,7 @@ jobs:
935935
owner: ${{ github.repository_owner }}
936936

937937
- name: Publish docs
938-
uses: grafana/plugin-ci-workflows/actions/internal/plugins/docs/publish@main
938+
uses: grafana/plugin-ci-workflows/actions/internal/plugins/docs/publish@ci-cd-workflows/v4.0.0
939939
with:
940940
id: ${{ fromJSON(needs.ci.outputs.plugin).id }}
941941
version: ${{ fromJSON(needs.ci.outputs.plugin).version }}
@@ -972,7 +972,7 @@ jobs:
972972

973973
- name: Parse changelog
974974
id: changelog
975-
uses: grafana/plugin-ci-workflows/actions/internal/plugins/changelog@main
975+
uses: grafana/plugin-ci-workflows/actions/internal/plugins/changelog@ci-cd-workflows/v4.0.0
976976
with:
977977
changelog-path: ${{ inputs.plugin-directory }}/CHANGELOG.md
978978

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ jobs:
315315
INPUT_TESTING: ${{ inputs.testing }}
316316

317317
- name: Setup
318-
uses: grafana/plugin-ci-workflows/actions/internal/plugins/setup@main
318+
uses: grafana/plugin-ci-workflows/actions/internal/plugins/setup@ci-cd-workflows/v4.0.0
319319
with:
320320
# The priority to setup the node version is:
321321
# 1. inputs.node-version
@@ -381,7 +381,7 @@ jobs:
381381
working-directory: ${{ inputs.plugin-directory }}
382382

383383
- name: Test and build frontend
384-
uses: grafana/plugin-ci-workflows/actions/internal/plugins/frontend@main
384+
uses: grafana/plugin-ci-workflows/actions/internal/plugins/frontend@ci-cd-workflows/v4.0.0
385385
with:
386386
package-manager: ${{ inputs.package-manager }}
387387
plugin-directory: ${{ inputs.plugin-directory }}
@@ -390,15 +390,15 @@ jobs:
390390

391391
- name: Test and build backend
392392
if: ${{ steps.check-for-backend.outputs.has-backend == 'true' }}
393-
uses: grafana/plugin-ci-workflows/actions/internal/plugins/backend@main
393+
uses: grafana/plugin-ci-workflows/actions/internal/plugins/backend@ci-cd-workflows/v4.0.0
394394
with:
395395
github-token: ${{ steps.generate-github-token.outputs.token }}
396396
plugin-directory: ${{ inputs.plugin-directory }}
397397
secrets: ${{ (fromJson(steps.workflow-context.outputs.result).isTrusted && inputs.backend-secrets != '') && inputs.backend-secrets || '' }}
398398

399399
- name: Package universal ZIP
400400
id: universal-zip
401-
uses: grafana/plugin-ci-workflows/actions/internal/plugins/package@main
401+
uses: grafana/plugin-ci-workflows/actions/internal/plugins/package@ci-cd-workflows/v4.0.0
402402
with:
403403
universal: "true"
404404
dist-folder: dist
@@ -409,7 +409,7 @@ jobs:
409409

410410
- name: Package os/arch ZIPs
411411
id: os-arch-zips
412-
uses: grafana/plugin-ci-workflows/actions/internal/plugins/package@main
412+
uses: grafana/plugin-ci-workflows/actions/internal/plugins/package@ci-cd-workflows/v4.0.0
413413
with:
414414
universal: "false"
415415
dist-folder: dist
@@ -420,7 +420,7 @@ jobs:
420420

421421
- name: Trufflehog secrets scanning
422422
if: ${{ inputs.run-trufflehog == true }}
423-
uses: grafana/plugin-ci-workflows/actions/internal/plugins/trufflehog@main
423+
uses: grafana/plugin-ci-workflows/actions/internal/plugins/trufflehog@ci-cd-workflows/v4.0.0
424424
with:
425425
trufflehog-version: ${{ inputs.trufflehog-version || env.DEFAULT_TRUFFLEHOG_VERSION }}
426426
folder: dist-artifacts
@@ -490,11 +490,11 @@ jobs:
490490
shell: bash
491491

492492
- name: Test docs
493-
uses: grafana/plugin-ci-workflows/actions/internal/plugins/docs/test@main
493+
uses: grafana/plugin-ci-workflows/actions/internal/plugins/docs/test@ci-cd-workflows/v4.0.0
494494

495495
playwright:
496496
name: Playwright E2E tests
497-
uses: grafana/plugin-ci-workflows/.github/workflows/playwright.yml@main
497+
uses: grafana/plugin-ci-workflows/.github/workflows/playwright.yml@ci-cd-workflows/v4.0.0
498498
if: ${{ inputs.run-playwright == true }}
499499
needs:
500500
- test-and-build
@@ -516,7 +516,7 @@ jobs:
516516

517517
playwright-docker:
518518
name: Plugins - Dockerized Playwright E2E tests
519-
uses: grafana/plugin-ci-workflows/.github/workflows/playwright-docker.yml@main
519+
uses: grafana/plugin-ci-workflows/.github/workflows/playwright-docker.yml@ci-cd-workflows/v4.0.0
520520
if: ${{ inputs.run-playwright-docker == true }}
521521
needs:
522522
- test-and-build

.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.0",
3-
".github/workflows": "3.2.0",
3+
".github/workflows": "4.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.0"

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/v3.2.0
35+
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v4.0.0
3636
permissions:
3737
contents: write
3838
id-token: write

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/v3.2.0
20+
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v4.0.0
2121
permissions:
2222
contents: write
2323
id-token: write

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/v3.2.0
35+
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v4.0.0
3636
permissions:
3737
contents: write
3838
id-token: write

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/v3.2.0
20+
uses: grafana/plugin-ci-workflows/.github/workflows/ci.yml@ci-cd-workflows/v4.0.0
2121
permissions:
2222
contents: read
2323
id-token: write

examples/base/simple/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/v3.2.0
35+
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v4.0.0
3636
permissions:
3737
contents: write
3838
id-token: write

examples/base/simple/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/v3.2.0
20+
uses: grafana/plugin-ci-workflows/.github/workflows/ci.yml@ci-cd-workflows/v4.0.0
2121
permissions:
2222
contents: read
2323
id-token: write

0 commit comments

Comments
 (0)