Skip to content
Open
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
12 changes: 6 additions & 6 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@

ci:
name: CI
uses: grafana/plugin-ci-workflows/.github/workflows/ci.yml@main
uses: grafana/plugin-ci-workflows/.github/workflows/ci.yml@d2b067d7de846d90d7455629f80ddf86d9db6849 # main

Check failure on line 788 in .github/workflows/cd.yml

View workflow job for this annotation

GitHub Actions / check-references

Workflow reference not pointing to `@main`

Workflow reference pointing to a non-main branch. Please switch it back to `@main`.
needs:
- setup
with:
Expand Down Expand Up @@ -1005,7 +1005,7 @@

- name: Check and create stub
id: check-and-create-stub
uses: grafana/plugin-ci-workflows/actions/internal/plugins/publish/check-and-create-stub@main
uses: grafana/plugin-ci-workflows/actions/internal/plugins/publish/check-and-create-stub@d2b067d7de846d90d7455629f80ddf86d9db6849 # main

Check failure on line 1008 in .github/workflows/cd.yml

View workflow job for this annotation

GitHub Actions / check-references

Workflow reference not pointing to `@main`

Workflow reference pointing to a non-main branch. Please switch it back to `@main`.
if: ${{ matrix.environment != 'prod' && matrix.environment != 'prod-canary' }}
with:
plugin-id: ${{ fromJSON(needs.ci.outputs.plugin).id }}
Expand All @@ -1015,13 +1015,13 @@

- name: Check artifact ZIP(s)
id: check-artifact-zips
uses: grafana/plugin-ci-workflows/actions/internal/plugins/publish/check-artifacts@main
uses: grafana/plugin-ci-workflows/actions/internal/plugins/publish/check-artifacts@d2b067d7de846d90d7455629f80ddf86d9db6849 # main

Check failure on line 1018 in .github/workflows/cd.yml

View workflow job for this annotation

GitHub Actions / check-references

Workflow reference not pointing to `@main`

Workflow reference pointing to a non-main branch. Please switch it back to `@main`.
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@main
uses: grafana/plugin-ci-workflows/actions/plugins/publish/publish@d2b067d7de846d90d7455629f80ddf86d9db6849 # main

Check failure on line 1024 in .github/workflows/cd.yml

View workflow job for this annotation

GitHub Actions / check-references

Workflow reference not pointing to `@main`

Workflow reference pointing to a non-main branch. Please switch it back to `@main`.
with:
zips: ${{ needs.upload-to-gcs-release.outputs.gcs-zip-urls }}
environment: ${{ matrix.environment == 'prod-canary' && 'prod' || matrix.environment }}
Expand Down Expand Up @@ -1338,7 +1338,7 @@
permission_set: website-docs

- name: Publish docs
uses: grafana/plugin-ci-workflows/actions/internal/plugins/docs/publish@main
uses: grafana/plugin-ci-workflows/actions/internal/plugins/docs/publish@d2b067d7de846d90d7455629f80ddf86d9db6849 # main

Check failure on line 1341 in .github/workflows/cd.yml

View workflow job for this annotation

GitHub Actions / check-references

Workflow reference not pointing to `@main`

Workflow reference pointing to a non-main branch. Please switch it back to `@main`.
with:
id: ${{ fromJSON(needs.ci.outputs.plugin).id }}
version: ${{ fromJSON(needs.ci.outputs.plugin).version }}
Expand Down Expand Up @@ -1387,7 +1387,7 @@

- name: Parse changelog
id: changelog
uses: grafana/plugin-ci-workflows/actions/internal/plugins/changelog@main
uses: grafana/plugin-ci-workflows/actions/internal/plugins/changelog@d2b067d7de846d90d7455629f80ddf86d9db6849 # main

Check failure on line 1390 in .github/workflows/cd.yml

View workflow job for this annotation

GitHub Actions / check-references

Workflow reference not pointing to `@main`

Workflow reference pointing to a non-main branch. Please switch it back to `@main`.
with:
changelog-path: ${{ inputs.plugin-directory }}/CHANGELOG.md

Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@
jobs:
check-for-release-channel:
name: Check for release channel
uses: grafana/plugin-ci-workflows/.github/workflows/check-release-channel.yml@main
uses: grafana/plugin-ci-workflows/.github/workflows/check-release-channel.yml@d2b067d7de846d90d7455629f80ddf86d9db6849 # main

Check failure on line 388 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / check-references

Workflow reference not pointing to `@main`

Workflow reference pointing to a non-main branch. Please switch it back to `@main`.
with:
DO-NOT-USE-allow-pinned-commit-hashes: ${{ inputs.DO-NOT-USE-allow-pinned-commit-hashes }}

Expand Down Expand Up @@ -492,7 +492,7 @@

- name: Setup
id: setup
uses: grafana/plugin-ci-workflows/actions/internal/plugins/setup@main
uses: grafana/plugin-ci-workflows/actions/internal/plugins/setup@d2b067d7de846d90d7455629f80ddf86d9db6849 # main

Check failure on line 495 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / check-references

Workflow reference not pointing to `@main`

Workflow reference pointing to a non-main branch. Please switch it back to `@main`.
with:
plugin-directory: ${{ inputs.plugin-directory }}
node-version: ${{ fromJson(steps.tooling-versions.outputs.result).nodeVersion }}
Expand Down Expand Up @@ -563,7 +563,7 @@

- name: Test and build frontend
id: frontend
uses: grafana/plugin-ci-workflows/actions/internal/plugins/frontend@main
uses: grafana/plugin-ci-workflows/actions/internal/plugins/frontend@d2b067d7de846d90d7455629f80ddf86d9db6849 # main

Check failure on line 566 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / check-references

Workflow reference not pointing to `@main`

Workflow reference pointing to a non-main branch. Please switch it back to `@main`.
with:
plugin-directory: ${{ inputs.plugin-directory }}
secrets: ${{ (fromJson(steps.workflow-context.outputs.result).isTrusted && inputs.frontend-secrets != '') && inputs.frontend-secrets || '' }}
Expand All @@ -572,7 +572,7 @@
- name: Test and build backend
id: backend
if: ${{ steps.check-for-backend.outputs.has-backend == 'true' }}
uses: grafana/plugin-ci-workflows/actions/internal/plugins/backend@main
uses: grafana/plugin-ci-workflows/actions/internal/plugins/backend@d2b067d7de846d90d7455629f80ddf86d9db6849 # main

Check failure on line 575 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / check-references

Workflow reference not pointing to `@main`

Workflow reference pointing to a non-main branch. Please switch it back to `@main`.
with:
github-token: ${{ steps.generate-github-token.outputs.token || '' }}
plugin-directory: ${{ inputs.plugin-directory }}
Expand All @@ -581,7 +581,7 @@

- name: Package universal ZIP
id: universal-zip
uses: grafana/plugin-ci-workflows/actions/internal/plugins/package@main
uses: grafana/plugin-ci-workflows/actions/internal/plugins/package@d2b067d7de846d90d7455629f80ddf86d9db6849 # main
with:
universal: "true"
dist-folder: ${{ inputs.plugin-directory }}/dist
Expand All @@ -592,7 +592,7 @@

- name: Package os/arch ZIPs
id: os-arch-zips
uses: grafana/plugin-ci-workflows/actions/internal/plugins/package@main
uses: grafana/plugin-ci-workflows/actions/internal/plugins/package@d2b067d7de846d90d7455629f80ddf86d9db6849 # main
with:
universal: "false"
dist-folder: ${{ inputs.plugin-directory }}/dist
Expand All @@ -603,7 +603,7 @@

- name: Trufflehog secrets scanning
if: ${{ inputs.run-trufflehog == true }}
uses: grafana/plugin-ci-workflows/actions/internal/plugins/trufflehog@main
uses: grafana/plugin-ci-workflows/actions/internal/plugins/trufflehog@d2b067d7de846d90d7455629f80ddf86d9db6849 # main
with:
trufflehog-version: ${{ inputs.trufflehog-version || env.DEFAULT_TRUFFLEHOG_VERSION }}
folder: ${{ inputs.plugin-directory }}/dist-artifacts
Expand Down Expand Up @@ -750,11 +750,11 @@
shell: bash

- name: Test docs
uses: grafana/plugin-ci-workflows/actions/internal/plugins/docs/test@main
uses: grafana/plugin-ci-workflows/actions/internal/plugins/docs/test@d2b067d7de846d90d7455629f80ddf86d9db6849 # main

playwright:
name: Playwright E2E tests
uses: grafana/plugin-ci-workflows/.github/workflows/playwright.yml@main
uses: grafana/plugin-ci-workflows/.github/workflows/playwright.yml@d2b067d7de846d90d7455629f80ddf86d9db6849 # main
if: ${{ inputs.run-playwright == true }}
needs:
- test-and-build
Expand Down Expand Up @@ -782,7 +782,7 @@

playwright-docker:
name: Plugins - Dockerized Playwright E2E tests
uses: grafana/plugin-ci-workflows/.github/workflows/playwright-docker.yml@main
uses: grafana/plugin-ci-workflows/.github/workflows/playwright-docker.yml@d2b067d7de846d90d7455629f80ddf86d9db6849 # main
if: ${{ inputs.run-playwright-docker == true }}
needs:
- test-and-build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/playwright-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,6 @@ jobs:
if: always()
steps:
- name: Check matrix job status
uses: grafana/plugin-ci-workflows/actions/internal/check-matrix-status@main
uses: grafana/plugin-ci-workflows/actions/internal/check-matrix-status@d2b067d7de846d90d7455629f80ddf86d9db6849 # main
with:
results: ${{ needs.playwright-tests.result }}
4 changes: 2 additions & 2 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:

- name: Setup
id: setup
uses: grafana/plugin-ci-workflows/actions/internal/plugins/setup@main
uses: grafana/plugin-ci-workflows/actions/internal/plugins/setup@d2b067d7de846d90d7455629f80ddf86d9db6849 # main
with:
plugin-directory: ${{ inputs.plugin-directory }}
node-version: ${{ inputs.node-version }}
Expand Down Expand Up @@ -369,6 +369,6 @@ jobs:
if: always()
steps:
- name: Check matrix job status
uses: grafana/plugin-ci-workflows/actions/internal/check-matrix-status@main
uses: grafana/plugin-ci-workflows/actions/internal/check-matrix-status@d2b067d7de846d90d7455629f80ddf86d9db6849 # main
with:
results: ${{ needs.playwright-tests.result }}
2 changes: 1 addition & 1 deletion .github/workflows/pr-checks-workflow-references.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- name: Switch references
id: switch-references
uses: grafana/plugin-ci-workflows/actions/internal/switch-references@main
uses: grafana/plugin-ci-workflows/actions/internal/switch-references@d2b067d7de846d90d7455629f80ddf86d9db6849 # main
with:
repository: grafana/plugin-ci-workflows
ref: main
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
# This is to ensure that the tag is completely hermetic.
- name: Switch references (actions and workflows)
id: switch-references
uses: grafana/plugin-ci-workflows/actions/internal/switch-references@main
uses: grafana/plugin-ci-workflows/actions/internal/switch-references@d2b067d7de846d90d7455629f80ddf86d9db6849 # main
with:
repository: grafana/plugin-ci-workflows
ref: ${{ steps.component-name.outputs.component }}/v${{ steps.get-version.outputs.version }}
Expand All @@ -125,7 +125,7 @@ jobs:
# This way we update only the examples relevant to the new component being released.
- name: Switch references (examples)
id: switch-references-examples
uses: grafana/plugin-ci-workflows/actions/internal/switch-references@main
uses: grafana/plugin-ci-workflows/actions/internal/switch-references@d2b067d7de846d90d7455629f80ddf86d9db6849 # main
with:
repository: grafana/plugin-ci-workflows
# Prefix to update only the relevant examples
Expand All @@ -137,7 +137,7 @@ jobs:
- name: Get bot user info
id: get-bot-user
if: steps.switch-references.outputs.changed == 'true' || steps.switch-references-examples.outputs.changed == 'true'
uses: grafana/plugin-ci-workflows/actions/internal/get-bot-user@main
uses: grafana/plugin-ci-workflows/actions/internal/get-bot-user@d2b067d7de846d90d7455629f80ddf86d9db6849 # main
with:
app-slug: grafana-plugins-platform-bot
token: ${{ steps.generate-github-token.outputs.token }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
# (we want to encourage using tagged releases in docs)
- name: Switch references
id: switch-references
uses: grafana/plugin-ci-workflows/actions/internal/switch-references@main
uses: grafana/plugin-ci-workflows/actions/internal/switch-references@d2b067d7de846d90d7455629f80ddf86d9db6849 # main
with:
repository: grafana/plugin-ci-workflows
ref: main
Expand All @@ -67,7 +67,7 @@ jobs:
- name: Get bot user info
id: get-bot-user
if: steps.switch-references.outputs.changed == 'true'
uses: grafana/plugin-ci-workflows/actions/internal/get-bot-user@main
uses: grafana/plugin-ci-workflows/actions/internal/get-bot-user@d2b067d7de846d90d7455629f80ddf86d9db6849 # main
with:
app-slug: grafana-plugins-platform-bot
token: ${{ steps.generate-github-token.outputs.token }}
Expand Down
Loading