diff --git a/.github/workflows/CHANGELOG.md b/.github/workflows/CHANGELOG.md index f65b723c..3c22ad30 100644 --- a/.github/workflows/CHANGELOG.md +++ b/.github/workflows/CHANGELOG.md @@ -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) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 93496982..92134c12 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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: @@ -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 }} @@ -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 }} @@ -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 }} @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7df8675c..e43e7e67 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 }} @@ -390,7 +390,7 @@ 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 }} @@ -398,7 +398,7 @@ jobs: - 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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c88155d6..dfeb01e2 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -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" diff --git a/examples/base/provisioned-plugin-auto-cd/publish.yaml b/examples/base/provisioned-plugin-auto-cd/publish.yaml index 9cf6dbd7..7a436efd 100644 --- a/examples/base/provisioned-plugin-auto-cd/publish.yaml +++ b/examples/base/provisioned-plugin-auto-cd/publish.yaml @@ -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 diff --git a/examples/base/provisioned-plugin-auto-cd/push.yaml b/examples/base/provisioned-plugin-auto-cd/push.yaml index 601fe0b8..b50d0c44 100644 --- a/examples/base/provisioned-plugin-auto-cd/push.yaml +++ b/examples/base/provisioned-plugin-auto-cd/push.yaml @@ -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 diff --git a/examples/base/provisioned-plugin-manual-deployment/publish.yaml b/examples/base/provisioned-plugin-manual-deployment/publish.yaml index d8f8b531..af7a2efd 100644 --- a/examples/base/provisioned-plugin-manual-deployment/publish.yaml +++ b/examples/base/provisioned-plugin-manual-deployment/publish.yaml @@ -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 diff --git a/examples/base/provisioned-plugin-manual-deployment/push.yaml b/examples/base/provisioned-plugin-manual-deployment/push.yaml index 3ddc8288..41067589 100644 --- a/examples/base/provisioned-plugin-manual-deployment/push.yaml +++ b/examples/base/provisioned-plugin-manual-deployment/push.yaml @@ -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 diff --git a/examples/base/simple/publish.yaml b/examples/base/simple/publish.yaml index 152deae6..c6bd9afe 100644 --- a/examples/base/simple/publish.yaml +++ b/examples/base/simple/publish.yaml @@ -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 diff --git a/examples/base/simple/push.yaml b/examples/base/simple/push.yaml index 65b33bde..a16e17fd 100644 --- a/examples/base/simple/push.yaml +++ b/examples/base/simple/push.yaml @@ -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 diff --git a/examples/extra/change-plugin-scope.yml b/examples/extra/change-plugin-scope.yml index 067d6572..64839312 100644 --- a/examples/extra/change-plugin-scope.yml +++ b/examples/extra/change-plugin-scope.yml @@ -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 }}