Commit Graph

414 Commits

Author SHA1 Message Date
grafana-delivery-bot[bot] fd37c0115b [release-11.3.8] Chore: Also add +security branches on release-comms PR (#106513)
Chore: Also add `+security` branches on release-comms PR (#105689)

* baldm0mma/ add create-security-branch.yml and update release-comms

* baldm0mma/ update target repo

* baldm0mma/ add enterprise

* baldm0mma/ update naming

* baldm0mma/ update descriptions

* baldm0mma/ use go action

* baldm0mma/ add dispatch

* baldm0mma/ update codwowners

* baldm0mma/ remove old oush step

* baldm0mma/ update to pass branch, not version

* baldm0mma/ add create-security-branch script

* baldm0mma/ move script

* baldm0mma/ update codeowners

* Revert "baldm0mma/ update codeowners"

This reverts commit a68531c62e.

* baldm0mma/ add script to codeowners

* baldm0mma/ alphabetize workflows and templates

* baldm0mma/ update script path

* baldm0mma/ add push conditions

* baldm0mma/ remove trigger

* baldm0mma/ update codeowners

(cherry picked from commit 82d271051a)

Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com>
2025-06-10 17:04:43 -06:00
Kevin Yu 619fa59c4c CI: update permissions on workflows which get external secrets (#104792) (#105789)
update permissions

(cherry picked from commit e36d774d0c)

Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com>
2025-05-21 13:55:59 -07:00
Kevin Yu bbf3ea23d2 Chore: Use Vault secrets in sync-mirror-event.yml (#104705) (#105781)
* baldm0mma/ update to using vault secrets

* Update .github/workflows/sync-mirror-event.yml



* Update .github/workflows/sync-mirror-event.yml



---------


(cherry picked from commit f0686a61ce)

Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com>
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com>
2025-05-21 13:19:35 -07:00
Josh Hunt 7669847fdb [release-11.3.7] CI: Fix Skye and E2E GHA workflows (#104905)
CI: Fix Skye and E2E GHA workflows (#104811)

* CI: Use pr_automation_app in skye workflow

* CI: Fix e2e workflow artifact name

(cherry picked from commit e9fe1dedf7)

* remove old-arch check

(cherry picked from commit 960e2d057b)
(cherry picked from commit 035ecc15b2)
2025-05-08 13:26:16 +01:00
Josh Hunt c9bab2413b [release-11.3.7] CI: Remove zizmor workflow in favor of org workflow (#104899)
CI: Remove zizmor workflow in favor of org workflow (#104879)

* CI: Remove zizmor workflow in favor of org workflow

* Update CODEOWNERS

(cherry picked from commit 033dc19b48)
2025-05-02 17:35:18 -05:00
Kevin Minehart 62b6ab0552 [release-11.3.7] CI: move workflows/actions to actions (#104748)
CI: move workflows/actions to actions (#104711)

* move workflows/actions to actions

* rerun actions

* fix setup-go v5

* unpinned unnecessary pins

* update CODEOWONERS

* update CODEOWONERS

* remove remove-milestone from codeowners

* remove bad key

(cherry picked from commit 2436b4e097)
2025-04-30 12:33:24 -05:00
Kevin Minehart 912f090eb1 [release-11.3.7] Backport workflow fixes (#104697)
* Copy workflows and actions from main

* add zizmor.yml
2025-04-29 11:47:18 -05:00
Josh Hunt bd62b4c2f3 [release-11.3.7] Backport pr patch check event release 11.3.7 (#104628)
ci: move variables to `env` (#104605)

* ci: move variables to `env`

* ci: move sha to `env`

* ci: import `SHA` and `PRE_COMMIT_SHA`

(cherry picked from commit d19f86a736)

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2025-04-28 14:31:31 +01:00
Kevin Minehart 300a46f8b5 [release-11.3.7] CI: Fix bug in post-release workflow (#104544)
CI: Fix bug in post-release workflow (#103368)

version should be prefixed with a v

(cherry picked from commit 5a2eedbae1)
2025-04-25 14:27:35 +01:00
Kevin Minehart 9ab571ab11 update PR patch check / sync mirror workflows 2025-04-22 08:35:31 -05:00
Mariell Hoversholm 27d1c63107 [release-11.3.6] Go: Bump to 1.24.2 (#103528)
* Go: Bump to 1.24.2

It is not likely we are actually affected by the CVEs, but updating proactively is not a bad idea nonetheless.

Fixes: CVE-2025-22871
Fixes: https://github.com/grafana/grafana-operator-experience-squad/issues/1311

* CI: Update golangci-lint

(cherry picked from commit 1c4284a8b4)
2025-04-09 08:44:16 +02:00
Matias Chomicki dadc898de4 [release-11.3.5] CI: remove unnecessary line in backport.yml (#102609)
CI: remove unnecessary line in backport.yml (#100144)

remove bad line

(cherry picked from commit 8e10ee9056)

Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com>
2025-03-24 10:47:43 +01:00
Denis Vodopianov 22604c198c [release-11.3.5] Chore: Revert golangci PR + bump golangic version (#102239)
Chore: Revert golangci PR + bump golangic version (#96326)

* Chore: Clean up some excludes and fix makefile (#96052)

clean up some excludes and fix makefile

* Chore: Enable cache on golangci linter (#95471)

* try to enable cache on golangci linter

* bump version

* exclude G115

* reduce timeout

* remove deprecated linter

* bump linter version in bingo

* try a different syntax for workspace modules

* try another command

* add apps to linter path

* try disabling cue codegen

* skip some linting in devenv

* exclude dirs and try again

* try workaround for pkg

* try path instead of dir

* make it one line

* replace package prefix

* exclude xorm

* exclude wire

* file-based aproach to nolint in workspaces

* missing quote

* simplify command line

* change ownership

* upgrade linter

* revert bingo readme

* revert devenv changes

* upgrade golint

* use dashes to stay consistent with other workflows

* also change name in its own workflow file

* rename in codeowners

(cherry picked from commit 3dbd3a7a81)

Co-authored-by: Serge Zaitsev <serge.zaitsev@grafana.com>
2025-03-18 14:59:57 +01:00
Kevin Minehart 22a6840011 [release-11.3.4] CI: Post-release process branch / PR migration (#100937)
CI: Post-release process branch / PR migration (#100930)

* update output for token in release-comms

* use token from needs

* generate token in individual workflows

* Set secrets

* define secrest in referenced workflows

* wrong secret lol

* oops

* grafana/grafana -> grafana/grafana-enterprise

(cherry picked from commit 75189de4f7)
2025-02-18 17:50:19 -06:00
Kevin Minehart 9fac1a7b73 [release-11.3.4] CI: release comms should trigger on merges to release- branches (#100909)
CI: release comms should trigger on merges to release- branches (#100901)

release comms should trigger on merges to release- branches

(cherry picked from commit 14477a7fe9)
2025-02-18 23:04:07 +02:00
Kevin Minehart e0f120d757 [release-11.3.4] CI: Backport to release branches (#100692)
* CI: Backport to release branches (#100067)

* update backport and release comms

* Backport to release branches and change docs source branch for publishing

* Add new workflows to CODEOWNERS

* Re-add removed line oops

* backport-testing -> grafana

* checkout grafana repo in backport action, reference repo / branch in reusable action

* generate -> create

(cherry picked from commit 6787cdccb9)

* remove v
2025-02-14 07:56:10 -06:00
Kevin Minehart 7476d99bc7 [release-11.3.4] CI: Add release branches to patch automation (#100532)
CI: Add release branches to patch automation (#100442)

* CI: Add release branches to patch automation

* Update .github/workflows/create-security-patch-from-security-mirror.yml

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>

---------

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
(cherry picked from commit a8b98ded66)
2025-02-12 11:05:20 -06:00
grafana-delivery-bot[bot] 82e7325214 [v11.3.x] Use v2 of publishing workflow that checks out HEAD of version branch on tag events (#98585)
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2025-01-07 13:21:42 +02:00
grafana-delivery-bot[bot] 5b5b9269a4 [v11.3.x] CI: Fix latest tag not being correctly applied to releases (#97520)
CI: Fix `latest` tag not being correctly applied to releases (#96497)

* baldm0mma/tag_latest_bug/ update github-release.yml default values

* baldm0mma/tag_latest_bug/ update release-comms.yml

* baldm0mma/tag_latest_bug/ update logic

* baldm0mma/tag_latest_bug/ update logic

* baldm0mma/tag_latest_bug/ update logic

* baldm0mma/tag_latest_bug/ update logic for both cases

* baldm0mma/tag_latest_bug/ update comment

(cherry picked from commit d8c19136bf)

Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com>
2024-12-05 15:32:19 -07:00
grafana-delivery-bot[bot] 9d867a4441 [v11.3.x] Remove doc-validator requirement to run on all pull requests (#95316)
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-10-24 11:38:12 +03:00
Esteban Beltran 84554735b0 Improve levitate detect breaking changes pipeline (#94391)
* Update .github/workflows/detect-breaking-changes-levitate.yml

Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>

---------

Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>
2024-10-08 15:45:54 +03:00
Ivan Ortega Alba 7bca69849f Dashboards: Enable scenes by default (#93818)
* Mark Scenes feature toggles as GA

* Move old arch e2e to a new folder

* Run E2E on scenes by default

* Upgrade e2e-selectors to ensure the tests in Playwright works
2024-09-30 10:49:02 +01:00
Jack Baldry d5f205fdef Update workflows to use actions that don't need organization secrets (#92603) 2024-09-19 13:53:45 +01:00
Esteban Beltran b48f288583 Chore: Change condition to run auto triager based on user association (#93466) 2024-09-19 11:49:54 +03:00
Esteban Beltran eb3f64b3f8 Chore: Fix issue-labeled workflow permission errors (#93417)
* Chore: Fix issue-labeled workflow permission errors

* fix comparison
2024-09-18 11:09:53 +03:00
Esteban Beltran 43cad93e62 Chore: use github app for issue commands workflow (#93304)
* Chore: use github app for issue commands workflow

* use it in issue-opened too

* update comments and permissions

* use issue app for triager token

* add spaces

* add config as requirement

* only run main if it has secrets

* Check for repository name,

* remove config work

* get secrets after sleep
2024-09-17 12:32:58 +02:00
Esteban Beltran 7b69d5b44f Add missing permissions for auto-triage bot (#93230) 2024-09-11 16:51:15 +03:00
Esteban Beltran 05023d9d31 Enable auto-triager to automatically add labels to community issues (#93206)
* Chore: Enable auto-triager to set labels

* pass the correct token to add labels
2024-09-11 12:53:16 +02:00
Esteban Beltran 462560d544 Chore: Only auto-triage issues for authors non associated to the repository (#93174)
Only triage issues for authors non associated to the repository
2024-09-10 16:29:58 +02:00
Esteban Beltran 0fb2eacba1 Chore: Move auto-triager workflow to issue-opened workflow file (#93101)
* move auto-triager to issue-opened workflow

* remove autotriager from codeowners
2024-09-09 16:44:01 +02:00
Ashley Harrison 86844142a9 Translations: Crowdin action now works on subsequent pushes (#92939)
* try using the generated token in the checkout action

* comment out github_user_name

* try adding with: token

* try env var

* try removing github_user_name

* restore user_name etc

* update action

* try persist-credentials: false;

* remove persist-creds false

* test

* restore github actions name
2024-09-04 16:20:00 +01:00
Hugo Kiyodi Oshiro 668d87b19f Plugins: Add message on levitate workflow failure (#92906) 2024-09-04 13:52:42 +02:00
Andreas Christou 8daa6f1f30 CI: Ensure changelogs are prettified prior to commit (#92580)
* Ensure changelogs are prettified prior to commit

* Remove cache property

* Include .yarn directory

* Include packages directory

* Try just using npx

* Update workflows
2024-09-04 11:03:17 +01:00
Esteban Beltran 045c57af23 Chore: Update auto triager github action to use private repository (#92819)
* Update auto triager to use private repository

* Check for other secrets too
2024-09-02 16:39:22 +02:00
Esteban Beltran a3e7e3dbfa Chore: Add auto-triager github action (#92807)
* Chore: Add auto-triager github action

* Add codeowners

* Add link

* Update .github/workflows/auto-triager.yml

Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>

---------

Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>
2024-09-02 15:23:04 +02:00
Piotr Jamróz 573e16fa3b CI: Null check for author (#92516)
Null check for author
2024-08-27 18:32:01 +02:00
Andreas Christou d00abe0972 CI: Update inputs to allow specifying previous version (#92506)
* Update inputs to allow specifying previous version

* Add one more input
2024-08-27 16:49:23 +01:00
Hugo Kiyodi Oshiro fa95eb8c02 Plugins: Fix big query credentials and improve detailed report errors (#92373) 2024-08-26 13:46:24 +02:00
Todd Treece e4953b6ffd Chore: Add Dockerfile CI check for new modules (#92239) 2024-08-21 16:25:25 -04:00
Dave Henderson df3d8915ba Chore: Bump Go to 1.23.0 (#92105)
* chore: Bump Go to 1.23.0

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

* update swagger files

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

* chore: update .bingo/README.md formatting to satisfy prettier

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

* chore(lint): Fix new lint errors found by golangci-lint 1.60.1 and Go 1.23

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

* keep golden file

* update openapi

* add name to expected output

* chore(lint): rearrange imports to a sensible order

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

---------

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2024-08-21 11:40:42 -04:00
Todd Treece da6b02a2b0 K8s: Add k8s codegen PR check (#91903) 2024-08-14 11:06:37 -04:00
Todd Treece 27545e3da4 Chore: Use golanglint-ci-includes script in Makefile (#91742) 2024-08-09 10:05:02 -04:00
Todd Treece 7f155b2b6f Chore: Add go workspace scripts (#91707) 2024-08-08 16:51:17 -04:00
Todd Treece 9a2c9647ee Chore: Add storage submodule to lint & test config (#91529) 2024-08-05 17:30:14 +03:00
Todd Treece 5376a2eb93 Chore: Add semconv package (#91408) 2024-08-02 08:35:18 -04:00
Josh Hunt 024e839aae Chore: Fix Crowdin Download action failing consistently (#91394) 2024-08-01 14:25:33 +01:00
Kevin Minehart 4e84234424 CI: set dry-run if release/dry-run label is set on release-comms.yml and set latest on github release if latest is set (#91089)
set dry-run and set latest on github release
2024-07-27 02:14:36 +03:00
Kevin Minehart a19a9903bf CI: Fix release-comms regex (#91024)
Fix release-comms regex
2024-07-26 08:18:22 +02:00
Kevin Minehart 7e4b7f73e7 CI: use main instead of my branch in release-pr.yml (#91004)
use main instead of my branch
2024-07-26 00:35:20 +03:00
Kevin Minehart 2fe506d502 CI: fix release pr target (#90999)
* use inputs.target as checkout ref, and `main` for all reused actions.
2024-07-25 16:14:29 -05:00