Commit Graph

223 Commits

Author SHA1 Message Date
Horst Gutmann
1e8879a041 CI: Remove pr-commands-closed workflow as replaced with auto-milestone (#72793) 2023-08-03 10:59:28 +02:00
Kevin Minehart
1b93f3c0ab CI: Update PR patch check workflow (#72770)
* Update PR patch check workflow

* trigger ci

* trigger ci
2023-08-02 16:20:43 -05:00
Josh Hunt
3172715a02 Chore: Fix pr-checks not having enough permissions (#72754) 2023-08-02 11:19:43 -05:00
Josh Hunt
742a1e3a3b Chore: Fix pr-checks not having enough permissions (#72753)
* Chore: Fix pr-checks not having enough permissions

* update permissions
2023-08-02 11:07:11 -05:00
Josh Soref
9571aea651 Only run workflows if they might be able to work (#72503)
* Fix whitespace

* Only run workflows if they might be able to work

* fix quotes

---------

Co-authored-by: joshhunt <josh@trtr.co>
2023-08-02 12:25:23 +01:00
Armand Grillet
dc486e0ca4 Revert "Only run workflows if they might be able to work" (#72506)
Revert "Only run workflows if they might be able to work (#63164)"

This reverts commit 234b5c8c21.
2023-07-28 13:21:34 +02:00
Josh Soref
234b5c8c21 Only run workflows if they might be able to work (#63164) 2023-07-28 11:01:14 +02:00
Andres Martinez Gotor
e6fe34c62c Chore: Auto add milestone when opening a PR (#72494) 2023-07-28 10:44:00 +02:00
Josh Hunt
70c05fff57 Chore: use GITHUB_TOKEN in breaking changes workflow instead of grot … (#72438)
Chore: use GITHUB_TOKEN in breaking changes workflow instead of grot token
2023-07-27 14:27:20 +00:00
Josh Hunt
5e5e617693 Chore: Use GITHUB_TOKEN in stale instead of grot token (#72126)
* Chore: Use GITHUB_TOKEN in stale instead of grot token

* update permissions
2023-07-27 12:29:41 +00:00
Horst Gutmann
5f09d8f2a6 CI: Add community-release workflow (#72350)
* CI: Add community-release workflow for posting to community.grafana.com

* CI: Set delivery team as owners of community-release workflow
2023-07-27 10:05:07 +02:00
Josh Hunt
18a364eb2f Chore: Use Github App credentials for pr-commands.yml workflow (#72400)
* Use grafana-pr-automation credentials

* Action!
2023-07-26 20:48:32 +00:00
Horst Gutmann
7cc9907146 CI: Move github-release workflow to new action (#72210) 2023-07-24 18:15:28 +02:00
Josh Hunt
65d8ea9beb Chore: Use GITHUB_TOKEN in issue-labeled instead of grot token (#72127) 2023-07-21 17:52:02 +02:00
Josh Hunt
504d5352bc Chore: Use GITHUB_TOKEN in pr-commands instead of grot token (#72125)
Use GITHUB_TOKEN instead of grot token
2023-07-21 16:41:22 +01:00
Jack Baldry
12f7524c86 Update doc-validator to fix suggestions involving anchors (#72108)
Suggestions for relref link fixes were missing the anchors.

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-07-21 15:21:19 +01:00
William Wernert
dfb040d842 CI: Add GitHub workflow to schedule a PR with changes to Alerting Swagger spec (#71794)
* add github workflow to schedule alerting swagger spec pr

* also generate stable api spec
2023-07-20 22:31:20 +03:00
Agnès Toulet
264cbb402c Kinds: rework verify-kinds to reduce GH API calls (#71304)
* Kinds: rework verify-kinds to reduce GH API calls

* Clean up and apply review feedback
2023-07-20 15:26:00 +02:00
Andreas Christou
0ec8b99b8b Remove code coverage (#71917)
* Remove code coverage

* Remove unneeded codeowners line
2023-07-19 15:03:41 +03:00
Selene
f75a3d04cf Chore: Remove pfs.GrafanaPlugin from schemas (#71884)
Remove pfs.GrafanaPlugin from schemas
2023-07-19 03:46:13 -04:00
Bruno
96ff95665f ci(ephemeral instances): new hosted grafana image tag format (#71793) 2023-07-17 17:17:56 -03:00
Bruno
10510d5138 ci: split ephemeral instances action and run only the grafana build workflow in a larger runner (#71785) 2023-07-17 16:08:53 -03:00
Horst Gutmann
8ae92db53d Chore: Add auto-milestone workflow for pull-requests (#71177)
This adds a new auto-milestone workflow that will set the milestone for
a PR when it is closed. This way, contributors no longer have to think
about milestone at all.
2023-07-17 09:55:35 +02:00
Bruno
31e9b981bc ci(ephemeral instances): ignore bot events (#71686) 2023-07-14 18:13:59 -03:00
Bruno
a02390bbcd ci: ephemeral instances - remove unnecessary args (#71683) 2023-07-14 16:43:43 -03:00
Bruno
b43bcb812f ci: remove unnecessary steps from ephemeral instances action (#71681) 2023-07-14 16:29:22 -03:00
Bruno
49b7edfed4 ci: enable ephemeral instances action for everyone (#71655) 2023-07-14 11:39:32 -03:00
Bruno
5cb0ea7afb ci: run ephemeral instances action on a larger runner (#71661) 2023-07-14 11:38:01 -03:00
Kevin Minehart
3afc20fae9 CI: Update and rename pr-patch-mirror-and-apply.yml to sync-mirror.yml (#71608)
* CI: Update and rename pr-patch-mirror-and-apply.yml to sync-mirror.yml

* update CODEOWNERS
2023-07-13 19:15:07 -03:00
Bruno
1b56a9ccd8 ci: add ephemeral instances action (#71604)
* ci: add ephemeral instances action

* add operator experience squad to CODEOWNERS

* only run action steps for a specific user
2023-07-13 18:02:35 -03:00
Jack Baldry
e8b4228f89 Update make docs procedure and related workflows (#71537)
* Add myself as CODEOWNER for `make docs` procedure and related workflows

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Update `make docs` procedure

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Add workflow to update `make docs` procedure

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Update doc-validator workflow

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Fix team handle

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Clean up CODEOWNERS

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-07-13 18:24:23 +01:00
Kevin Minehart
428f63518a CI: Rename the patch GHA workflows (#71470)
* Rename the patch workflows

* Update codeowners
2023-07-12 18:11:20 +03:00
Emil Tullstedt
e07fbeef60 Chore: Upgrade Go to 1.20.6 (#71440) 2023-07-12 15:32:40 +02:00
Ezequiel Victorero
c87de8305c Chore: Update github action dashboard project (#71154)
Chore: update github action dashboard project
2023-07-06 16:12:15 -03:00
Ricky Whitaker
d88046d3d4 Added security patch delivery workflows (#71101)
* adding security patch workflows

* adding grafana-delivery as codeowners for new pr-security-check workflows

* adding release branch triggers to PR security patch github action

* joined security patching mirror and apply jobs

* remove temp files
2023-07-06 10:06:17 -05:00
Natalia Bernarte Oses
529be0f513 Add dashboards label to issues in dashboards project (#70992)
* Create dashboards-issue-add-label.yml

* Update code owners with the new file

* Update .github/workflows/dashboards-issue-add-label.yml

---------

Co-authored-by: Ezequiel Victorero <ezequiel.victorero@grafana.com>
2023-07-04 14:42:17 -03:00
Kévin Gomez
467c818c47 Kinds: Fix kind publishing to the registry (#71041)
* Build: Generate core kinds in their own folder

* Build: Generate composable kinds within a package
2023-07-04 16:52:41 +02:00
Dimitris Sotirakis
37db29db63 Github Actions: Fix milestone GH action (#70490)
* Remove secret from the caller action

* Inherit secrets for reusable actions
2023-06-22 12:39:51 +03:00
Dimitris Sotirakis
31b9f9d235 Bug: Fix yaml identation for github action yamls (#70445)
* Fix yaml identation

* Fix the rest of the yamls
2023-06-21 13:28:10 +03:00
Dimitris Sotirakis
15a85686c2 GitHub Apps: Replace grafanabot token with grafana-delivery-bot GitHub App (#70242)
* Update bump-version.yml

* Fix secret

* [REVERTME] Remove check

* Test without grafana-delivery-bot prefix

* Check if token exists

* Cleanup bump-version

* Update gh actions to use app key
2023-06-21 12:06:56 +03:00
Horst Gutmann
21fd7c5c13 CI: Remove no-changelog flag from backports (#70216)
This finalizes https://github.com/grafana/grafana-github-actions/pull/148
2023-06-16 07:32:56 +02:00
Agnès Toulet
17126d963b Run verify-kinds only on CUE updates (#70162)
* Run verify-kinds only on CUE updates

* Update verify-kinds.yml

* remove test
2023-06-15 17:03:45 +02:00
Timur Olzhabayev
5ca7a1a01e Fix: Report breaking changes workflow error message (#70152) 2023-06-15 16:36:26 +03:00
Agnès Toulet
2554c482ea Kinds: publish kinds to kind registry (#67515)
* Start local schema registry

* Try to use latest version

* Revert "Try to use latest version"

This reverts commit 682385c0e4.

* update schema registry jenny to validate new lineages

* save kind instead of lineage

* handle plugins

* get published schemas from GH + fix plugins

* handle kind not yet published

* Add script to use in workflow + handle maturity

* first pass on publish-kinds GH workflow

* fix script path

* remove unused script

* use make gen-cue instead of script

* trigger publish-kinds on every commit (for test)

* temporary update to use specific thema commit

* wrapping errors

* remove GH token & refactor for rate limit

* Update publish-kinds.yml

* Update publish-kinds.yml

* revert go.mod and go.sum updates

* use Thema specific commit

* Kind registry v2

* fix script path

* fix second script path

* update go.mod

* update schema registry source

* test checks

* add GITHUB_TOKEN

* revert test checks

* actually write next files when publishing

* Add kind set arg

* Add comments

* clean up workflows

* update Thema

* Update .betterer.results

* few fixes after lineage flattening

* Update publish-kinds-next.yml

* add codeowners for new files

* update thema

* apply review feedback

* update go version in workflows

* clean up workflows

* Add step to generate token and test

* Update publish-kinds-next.yml

* fix script

* try with the app name

* Update publish-kinds-next.yml

* clean up and update release workflow

* add comment

* publish kinds only on cue updates
2023-06-13 14:01:29 +02:00
dependabot[bot]
228ae47653 Bump anchore/sbom-action from 0.12.0 to 0.14.2 (#67965)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.12.0 to 0.14.2.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](https://github.com/anchore/sbom-action/compare/v0.12.0...v0.14.2)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 14:53:55 -04:00
Jack Baldry
c46395ad88 Use doc-validator v3.0.0 (#69544)
- Structured output for use with [`reviewdog`](https://github.com/reviewdog/reviewdog).
  You can achieve the original error output by piping the output to the following `jq` expression: `jq -r '"ERROR: \(.location.path):\(.location.range.start.line):\(.location.range.start.column): \(.message)"'`.
- Suggestions for simple link fixes.
  In GitHub, [`reviewdog`](https://github.com/reviewdog/reviewdog) comments these suggestions for convenient replacement.
- Support for anchors referring to repeated headings.
  In the case that a page has multiple headings that share the same text, a zero indexed, the renderer appends a numbered suffix to the identifier.
  For example, when there are two headings that are both "Heading text", the first anchor identifier is `heading-text` and the second is `heading-text-1`.- Error when running `doc-validator` on no files.

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-06-06 07:40:05 +01:00
Shirley
b2065c8c38 CloudWatch: remove code coverage report comments (#69570) 2023-06-05 18:24:12 +02:00
dependabot[bot]
4db6056090 Bump anchore/sbom-action from 0.12.0 to 0.13.4 (#65080)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.12.0 to 0.13.4.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](https://github.com/anchore/sbom-action/compare/v0.12.0...v0.13.4)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 14:18:07 +00:00
dependabot[bot]
e4f662e440 Chore(deps): Bump actions/setup-go from 3 to 4 (#64862)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 14:17:02 +00:00
dependabot[bot]
914d1a94ba Bump slackapi/slack-github-action from 1.23.0 to 1.24.0 (#69425)
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.23.0 to 1.24.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.23.0...v1.24.0)

---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 04:58:34 +00:00