Commit Graph

342 Commits

Author SHA1 Message Date
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
dependabot[bot]
96d8b0c659
Bump actions/stale from 6 to 8 (#65309)
Bumps [actions/stale](https://github.com/actions/stale) from 6 to 8.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v6...v8)

---
updated-dependencies:
- dependency-name: actions/stale
  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-01 09:31:20 +01:00
Dimitris Sotirakis
7ce16053f9
G10: Update GitHub actions for to replace preview with beta (#69231)
* s/beta/preview in bump-version.yml

(cherry picked from commit e735cced7af3e0aaf4ca656bdc55d5b2375d1fed)
(cherry picked from commit fb3f497f6e)

* Fix regexp

(cherry picked from commit 7175c3a42e)

* Update milestone / update-changelog actions
2023-05-30 18:10:09 +03:00
Jack Baldry
6c4cf4f8b9
Enable doc-validator for alerting directories (#68964)
* Enable doc-validator for alerting directories

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

* Adds missing description frontmatter

* Fix some more links

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

* Fix some more links

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

* Fixes anchors

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
2023-05-24 14:12:30 +01:00
Andreas Christou
108acee08e
CloudMonitoring: Initial GCM Schema (#67739)
* Initial GCM schema work

- Split types for convenience
- Update conditionals where needed
- Update type references

* Add additional supporting types

* Add some more accessory and legacy types

* Add missing type

* Rename backend folder

* Add missing generated file

* Review
2023-05-22 17:19:54 +01:00
Jack Baldry
560f49b3dc
Enable doc-validator for specific directories (#63524)
* Enable doc-validator for specific directories

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

* Fix one linting error to trigger CI

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

* Update doc-validator to latest release

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

* Update make-docs procedure

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

* Use doc-validator version from CI in local make target

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

* Revert to 1.11.0

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

* adds missing descriptions

* Fix titles and headings

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

* Fix link formats

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

* Fix easy to resolve anchors

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

* Remove broken anchor link

This anchor appears to have been broken for a long time.

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

* Use doc-validator image with support for numbered anchors

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

* Update make-docs procedure to support doc-validator 2.0.x

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

* Fix a bunch of broken anchors

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

* Ignore old whatsnew content

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

* Update doc-validator to v2.0.x and use reviewdog to report errors

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

* removes broken links

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Chris Moyer <chris.moyer@grafana.com>
2023-05-18 15:50:20 +01:00
Emil Tullstedt
b0e681c339
Chore: Update target in go.mod to 1.20 and golangci-lint to v1.52.2 (#67102) 2023-05-10 13:47:35 +02:00
Armand Grillet
5cb888650d
Change GitHub token in issue-labeled.yml workflow (#67905) 2023-05-05 12:43:56 +02:00
Armand Grillet
11ea63d9dd
Optional team filter when sending issue notification on Slack (#67901) 2023-05-05 12:18:39 +02:00
Horst Gutmann
f899244934
CI: Use new update-changelog action in grafana-github-actions-go (#66723) 2023-04-27 09:37:52 +02:00
Armand Grillet
e899d2bc7e
Fix issue-labeled.yml GH workflow (#67283) 2023-04-26 16:00:34 +03:00
Bruno
86be40555f
Chore: use native async fs.readFile in json-file-to-job-output script (#66686) 2023-04-24 09:46:56 -03:00
dependabot[bot]
1290dc824a
Bump grafana/code-coverage from 0.1.18 to 0.1.19 (#65308)
Bumps [grafana/code-coverage](https://github.com/grafana/code-coverage) from 0.1.18 to 0.1.19.
- [Release notes](https://github.com/grafana/code-coverage/releases)
- [Commits](https://github.com/grafana/code-coverage/compare/v0.1.18...v0.1.19)

---
updated-dependencies:
- dependency-name: grafana/code-coverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-12 08:42:17 +00:00
Horst Gutmann
fcabaac037
CI: Allow X.Y.Z-pre in bump-version workflow (#65924) 2023-04-04 16:29:42 +03:00
Jack Baldry
8e7633facb
Use latest version of doc-validator (#65595)
See https://github.com/grafana/technical-documentation/releases/tag/doc-validator%2Fv1.10.0

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-04-04 12:21:01 +01:00
Mihaela
2ac7d0455c
Limit issue-add-to-parent-project to only epics (#65260) 2023-03-27 12:59:04 +01:00
dependabot[bot]
165ca93ea5
Bump actions/cache from 3.0.11 to 3.3.1 (#64721)
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.11 to 3.3.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.0.11...v3.3.1)

---
updated-dependencies:
- dependency-name: actions/cache
  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-03-14 11:03:20 +01:00
Jack Baldry
96956d8252
Trigger PR commands on labeled events (#64377)
This should enable adding PRs to organization project boards similar
to with issues.

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-03-08 09:00:58 +00:00
matt abrams
bc1c54ca17
GHActions: add token to publish changelog on forum (#63294)
add API token for forum
2023-03-01 15:30:01 -10:00
dependabot[bot]
2ee73ad7f9
Bump leonsteinhaeuser/project-beta-automations from 1.3.0 to 2.1.0 (#63688)
Bumps [leonsteinhaeuser/project-beta-automations](https://github.com/leonsteinhaeuser/project-beta-automations) from 1.3.0 to 2.1.0.
- [Release notes](https://github.com/leonsteinhaeuser/project-beta-automations/releases)
- [Commits](https://github.com/leonsteinhaeuser/project-beta-automations/compare/v1.3.0...v2.1.0)

---
updated-dependencies:
- dependency-name: leonsteinhaeuser/project-beta-automations
  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-02-28 12:05:51 +01:00
Andreas Christou
0a7474ac5c
Bump coverage versions (#63755)
- Includes a fix to ensure only ts/tsx files have coverage generated
2023-02-24 13:20:16 -05:00
Ethan
71b7c62021
Snyk Workflow add (#62902)
* Snyk Workflow add

* CODEOWNERS update

* Remove master branch name
2023-02-23 13:16:16 +00:00
matt abrams
7295573e2e
GHActions: move new 'opened' action to separate workflow (#63228)
* add new scenario to config

* make workflow run on opened issues

* revert-dont run on opened

* action for newly opened issues

* move new action config

* remove opened from commands

* change name

* Update .github/workflows/issue-opened.yml

ty!

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

* make comment clearer

---------

Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>
2023-02-10 07:27:28 -10:00
Timur Olzhabayev
5dc781b72e
Remove opened type 2023-02-10 15:52:24 +01:00
matt abrams
99fe0e6741
GHActions: Issues: Add action that makes org members add a label (#63158)
* add new scenario to config

* make workflow run on opened issues
2023-02-09 09:23:04 -10:00
Jack Baldry
ba9bdf3455
Update publishing workflows to use organization secret (#63001)
The new tokens are managed centrally and have a longer expiry.
Administrators of the grafanabot account will be
notified of the pending expiry and the secret can be rotated centrally
without the need for a repository administrator to update their
secrets.

The existing repository secrets can safely be removed. The tokens for
those secrets will be removed by the end of this week.

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-02-07 15:13:47 +00:00
Jack Baldry
3133e6c689
Use organization ISSUE_COMMANDS_TOKEN with reduced scope (#62446)
The GH_BOT_ACCESS_TOKEN has permissions beyond those required for
addToProject and other API commands that the issue_commands workflow uses.

The new token is set at an organization level so it does not require
repository administrators to rotate the token. It also has the minimal
classic PAT permissions to facilitate the workflow.

It has expiry but that expiry is reported via email to the engineering
organization and the IT Helpdesk have permissions to regenerate the
token when expiration is imminent.

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-02-07 15:08:40 +00:00
Andreas Christou
d7f7cd1e61
Schema: Initial Azure Monitor query schema (#62018)
* Initial schema

- Add types based off of current frontend

* Rename and field-level comments

* Update report and regenerate files

* Rename frontend Azure folder

- Doing this for consistency and to ensure code-generation works
- Update betterer results due to file renames

* Remove default and add back enum vals that I deleted

* Set workspace prop as optional

* Replace template variable types

* Connect frontend query types

- Keep properties optional for now to avoid major changes
- Rename AzureMetricResource
- Correctly use ResultFormat

* Add TSVeneer decorator

* Update schema

* Update type

* Update CODEOWNERS

* Fix gen-cue issue

* Fix backend test

* Fix e2e test

* Update code coverage

* Remove references to old Azure Monitor path

* Review

* Regen files
2023-02-03 16:06:54 +00:00
Kevin Minehart
3cbaa58b1b
CI: Replace enterprise check (#62359)
* Add steps in the pipeline for cloning enterprise when running PR tests.
* Removed enterprise-check from the github action workflows, and removed it from the codeowners file.
2023-02-01 16:55:49 +00:00
Andreas Christou
5bdfbd93a5
Bump code coverage version (#62322)
* Bump code coverage version

* Update codeowners to include aws-plugins

* Bump version further
2023-01-27 14:33:48 +00:00
Jack Baldry
f4be855e30
Update doc-validator to latest release (#62170)
* Update doc-validator to latest release

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

* Skip image validation

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

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-01-26 14:29:26 +00:00
Andreas Christou
18465bc04f
Bump code-coverage workflow version (#62182) 2023-01-26 11:04:00 +00:00
Jack Baldry
017d4f2cbb
Pin doc-validator image version to allow repository to opt in to breaking changes (#61456)
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-01-13 11:40:30 +00:00
Levente Balogh
b8aaf85fdc
Levitate: Only run against the main branch (#61401)
chore: only run Levitate against the main branch
2023-01-13 09:43:09 +01:00
MeanMina
8bab6d3658
Change token for parent project action (#61314) 2023-01-11 17:03:59 +00:00
Jack Baldry
87ccf10ffe
Update publishing workflows to use PATs with fine-grained access control (#61098)
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-01-11 10:53:26 +00:00
Timur Olzhabayev
320266ae63
Chore: Introduce codeowners validator (#60818) 2023-01-10 15:40:00 +01:00
Jack Baldry
1516aa2762
Remove packages path from branch filter (#60128)
That directory is no longer used in published docs and causes this
workflow to fail when changes only affect the packages directory.

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

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-01-04 10:18:44 +00:00
Matias Chomicki
dbff9b4b97
CI: Enable coverage report for Elasticsearch (#60513) 2022-12-19 17:04:05 +01:00
Levente Balogh
689f30623a
Levitate: Fix typo in CI workflow scripts (#60438)
Fix: Typo in a Levitate CI script
2022-12-16 05:21:46 -05:00
Andreas Christou
5fd8d515be
Bump code coverage versions (#60419) 2022-12-15 14:32:19 -05:00
Matias Chomicki
c7c7cad4ba
Workflows: include Loki to OX code coverage workflow (#60341) 2022-12-15 20:15:31 +01:00
Marcus Andersson
d0a68b266c
Bugfix: Attach correct link to "levitate detect breaking changes"-message included in PR (#60220)
* Fixed so we link to the proper job and step.

* Fixed according to feedback.

* Added check_suite to the job link
2022-12-15 09:56:23 +01:00
MeanMina
3605103e28
Chore: New workflow to add and update epic issue into parent project (#59909)
* Create issue-add-to-parent-project.yml

Tested in https://github.com/grafana/github-actions-testrepo/blob/main/.github/workflows/issue-add-to-parent-project.yml

* Rename issue-add-to-parent-project

Rename issue-add-to-parent-project and update to make it clear it's Platform UX specific for now.

* Add action trigger on closed epics

Update epic-add-to-platform-ux-parent-project.yml to add action trigger on closed alongside the others and fix typo.
2022-12-14 11:27:59 -05:00
Ida Štambuk
30e2de89ec
Chore: Update code-coverage version to 0.1.13 (#59545)
Update code-coverage version to 0.1.13
2022-12-14 14:44:51 +01:00
Jack Baldry
6f9ee7acf9
Fix branch filter for release workflows (#59963)
Ensures the workflow is run on every push to all version branches.

This was thought to be working because it was tested with a manual
dispatch, however, that trigger does not consider filters and was not
an accurate test.

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

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-12-09 13:52:06 -04:00
Jack Baldry
e7bdcb4ba8
Restrict workflow to grafana/grafana repository (#59740)
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-12-02 15:29:57 -05:00
Jack Baldry
a343defe64
Fix release_branch_regexp (#59590)
Apparently the non-capturing group was incorrect.

I verified the logic in a branch in grafana-github-actions:
https://github.com/grafana/grafana-github-actions/compare/jdb/2022-11-prove-grafana-regexp-behaves-correctly?expand=1

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

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-11-30 12:37:03 -04:00
Jack Baldry
6d6cb0a478
Remove dependency on test job (#59575)
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-11-30 11:13:46 -04:00
Jack Baldry
10a83714c8
Automate docs publishing steps (#59550)
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-11-30 10:04:23 -04:00
Kevin Minehart
5995824f0c
CI: Use the git event payload rather than github context to populate the source SHA in the enterprise downstream test (#59435)
* test

* I guess the pull_request event doesn't include the 'sha' item
2022-11-28 20:49:20 +01:00
Kevin Minehart
b3b7cba0fe
CI: add source_sha option to enterprise-pr-check action (#59314)
* add source_sha option to enterprise-pr-check action

* Add git hash to enterprise check branch
2022-11-28 09:44:23 -06:00
Timur Olzhabayev
174a039ee1
Fix: Bump-version action regex pattern to work with beta1 (#58805)
Fixing bump version regex
2022-11-16 09:26:38 +00:00
Timur Olzhabayev
f451332e36
Chore: Switching to new output format for detect breaking changes action (#58516)
* Switching to new output format for detect breaking changes action

* linting: wrap $GITHUB_OUTPUT with double quotes

* linting: fix shellcheck issues in the right place 🤦‍♂️

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2022-11-10 06:02:04 -05:00
Timur Olzhabayev
b5388bb080
Switching to new output format for bump-version action (#58514) 2022-11-10 10:24:19 +01:00
Timur Olzhabayev
c9138ebb68
Switching to new output format for publish docs action (#58518) 2022-11-10 10:14:23 +01:00
Levente Balogh
bfd14709c9
Levitate: Only run workflows when the NPM packages change (#58206)
* chore: only run Levitate when our NPM packages have changes

* chore: show the Levitate workflow as passed even if it was skipped
2022-11-08 14:26:31 +01:00
Dan Cech
da9c646f24
Build: add explicit build step for go codeql (#58195)
* add explicit build step for go codeql

* support workflow_dispatch for codeql checks

* syntax fix

* enable on push to codeql-go branch

* test

* use go version from go.mod

* explicitly set go version

* tidy up, add workflow_dispatch support to all codeql actions
2022-11-04 10:20:08 -04:00
Timur Olzhabayev
de7f411e20
Removing workflow_call from update-changelog and bump-version action (#58181) 2022-11-03 17:47:04 +00:00
dependabot[bot]
09908b6602
Bump actions/cache from 2.1.7 to 3.0.11 (#56910)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.0.11.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3.0.11)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 15:00:07 +00:00
dependabot[bot]
f6376ead29
Bump actions/stale from 5 to 6 (#57864)
Bumps [actions/stale](https://github.com/actions/stale) from 5 to 6.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5...v6)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 14:46:04 +00:00
dependabot[bot]
86d7542234
Bump actions/setup-node from 3.4.0 to 3.5.1 (#57865)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.4.0 to 3.5.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.4.0...v3.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 14:44:37 +00:00
dependabot[bot]
3770f4f2b7
Bump slackapi/slack-github-action from 1.14.0 to 1.23.0 (#56836)
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.14.0 to 1.23.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.14.0...v1.23.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 14:36:40 +00:00
dependabot[bot]
28fc518ec8
Bump actions/cache from 2.1.7 to 3.0.10 (#56218)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.0.10.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3.0.10)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 14:28:52 +00:00
Giordano Ricci
e3e32c7d04
chore: bump code coverage action version (#56710) 2022-10-11 15:35:35 +01:00
Dimitris Sotirakis
f7c6fe0c97
Fix update-changelog.yml version input (#56224) 2022-10-04 02:55:13 -04:00
Ethan
ad48cee2bb
init sbom action (#56177) 2022-10-03 15:53:28 +00:00
Timur Olzhabayev
2ded4c12ab
Chore: Rename one of the publish docs action steps (#55888) 2022-09-30 09:48:54 +02:00
Dimitris Sotirakis
46037cff56
Remove prepare-release.yml (#55893) 2022-09-28 04:52:42 -04:00
Andreas Christou
17fc5d82d3
Bump code coverage versions (#55554) 2022-09-21 13:38:02 +01:00
Giordano Ricci
93e4205caa
chore: fix OX coverage report (#55386) 2022-09-19 13:55:09 +01:00
Giordano Ricci
d2adb1a3cd
chore: add coverage repoort for OX-related PRs (#55316) 2022-09-19 13:01:15 +01:00
Timur Olzhabayev
70802d270e
Fix: publish_docs GitHub action needs to be updated after a script that was used there has been removed (#54597) 2022-09-01 16:37:17 +00:00
Esteban Beltran
6200c6d70f
Build: Force a specific nodejs version for levitate detect breaking changes pipeline (#54207) 2022-08-25 04:35:13 -04:00
Armand Grillet
0a18456507
Move GH workflow step to have node_id unchanged (#54201) 2022-08-25 10:15:04 +02:00
Armand Grillet
6804a8c9cc
Add GH action to automatically add issue labeled to GH board (#54151) 2022-08-24 16:20:10 +02:00
Andreas Christou
e8b13f8122
Bump code coverage workflow version (#54138) 2022-08-24 14:40:47 +01:00
Jack Westbrook
b1ce721cf1
Levitate: Update workflow to find type declaration via package.json (#53539)
* refactor(breaking-changes): make sure to pack and zip tarballed packages before artifact upload

* feat(check-breaking-changes): support extracting npm package tarballs before comparing packages

* chore(breaking-changes): fix typo preventing upload of pr_built_packages.zip
2022-08-11 15:17:51 +02:00
Andreas Christou
caec0f8771
Cloud Datasources: Add necessary inputs and bump version for code coverage workflow (#52055)
* Add necessary inputs and bump version

* Test coverage commit

* Bump coverage workflow version

* Bump workflow version

* Try updated workflow

* Bump commit sha

* Rename empty file for testing

* Update sha

* Update sha

* Update sha

* Bump SHA

* Update SHA

* Update sha

* Bump SHA

* Bump SHA

* Bump sha

* Bump SHA

* Test all plugins (including backend)

* Bump SHA

* Update SHA

* Remove empty files and set appropriate workflow version
2022-07-14 10:14:55 +01:00
dependabot[bot]
0ae98743e0
Bump actions/setup-node from 3.3.0 to 3.4.0 (#52075)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.3.0...v3.4.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  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>
2022-07-12 15:52:53 +00:00
Jack Baldry
602ee37533
Add doc-validator tool to CI (#51698)
* Add doc-validator tool to CI

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

* Use simpler apostrophe to make title match h1

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

* Ensure doc-validator CI always passes until all errors are resolved

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-07-07 08:58:51 +01:00
Armand Grillet
e935ba2954
Improve issue-labeled.yml workflow (#51308)
Instead of downloading the entire grafana/grafana repository, the
workflow now simply fetches the file containing the map of labels
and teams. This change makes the workflow much faster.
2022-06-23 12:31:33 +02:00
Armand Grillet
9fac806b6c
Add automation when issue labeled area/alerting (#51245)
This now results in a message being sent to a Slack channel
used by the Alerting team at Grafana Labs.
2022-06-22 16:22:18 +02:00
dependabot[bot]
369358500d
Bump github/codeql-action from 1 to 2 (#49128)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2022-06-13 11:29:42 +01:00
dependabot[bot]
cd29174171
Bump slackapi/slack-github-action from 1.18.0 to 1.19.0 (#49127)
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.18.0 to 1.19.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.18.0...v1.19.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>
2022-06-13 11:26:46 +01:00
dependabot[bot]
6028cc9c24
Bump actions/setup-node from 3.2.0 to 3.3.0 (#50276)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  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>
2022-06-13 11:23:26 +01:00
dependabot[bot]
d078cb8c78
Bump actions/upload-artifact from 2 to 3 (#47541)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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>
2022-05-30 15:01:57 +01:00
Marcus Efraimsson
8a1b723007
Chore: Add no-changelog label for backports (#49605) 2022-05-25 14:18:46 +02:00
dependabot[bot]
ce6a5694ff
Bump actions/download-artifact from 2 to 3 (#47543)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  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>
2022-05-17 11:58:46 +01:00
dependabot[bot]
e5ae3b9762
Bump actions/setup-node from 2.5.1 to 3.2.0 (#49040)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.5.1 to 3.2.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.5.1...v3.2.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  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>
2022-05-17 11:56:14 +01:00
dependabot[bot]
c5f5cbe438
Bump actions/stale from 4 to 5 (#47542)
Bumps [actions/stale](https://github.com/actions/stale) from 4 to 5.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/stale
  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>
2022-05-17 11:55:05 +01:00
Agnès Toulet
4bd97c8673
Drone: Trigger Enterprise PR checks for OSS PRs (#47176)
* Drone: add enterprise-init-downstream step

* fixes

* Add OSS_PULL_REQUEST env variable for downstream builds

* sign Drone config

* Update .drone.yml

* use test grabpl

* test without init step

* fix downstream branch

* unknown branch test

* use drone-downstream test image

* revert latest changes

* update Drone and add GH workflow

* fix PR number

* Run Enterprise PR check only on PRs targeting main or release branch

* update repository dispatch action

* remove test data

* update grabpl version
2022-05-16 14:28:37 +02:00
Marcus Efraimsson
7e332d6f97
Chore: Add PR Check action enforcing changelog decision (#48728) 2022-05-05 11:38:46 +02:00
Levente Balogh
5283a8b13d
Levitate: use a custom breaking change label (#48494)
* chore: temporarily rename the breaking-change label assigned by Levitate

* chore: use 'levitate breaking change' as a label
2022-04-29 14:44:50 +02:00
Shirley
fe3a27a2ab
Fix wildcard on branches-ignore backport (#47679)
Fixes https://github.com/grafana/code-coverage/issues/11
2022-04-13 11:15:22 +02:00
dependabot[bot]
c8514756be
Bump actions/checkout from 2 to 3 (#46068)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>
2022-04-08 09:26:30 +01:00
Shirley
91bfd7fbf0
Chore: Add code coverage workflow for cloud data sources (#47048) 2022-04-05 16:13:18 +02:00
Armand Grillet
3e9dfcd730
Optimize CodeQL workflow (#47095)
* Do not run CodeQL analysis when updating .cue file

* Remove autobuild step for CodeQL workflow as unecessary

* Add specialized CodeQL workflow

* Updated main CodeQL workflow to not run on PRs

* Simplify CodeQL analysis on PR

* Add .tsx file format to JS CodeQL analysis match
2022-04-01 16:40:25 +02:00
Dimitris Sotirakis
eea20c4446
Remove check (#47173) 2022-04-01 10:02:49 +02:00
Armand Grillet
42e090cda8
Do not run CodeQL analysis when some file types are updated (#47051)
This follows the recommendation in the GitHub Docs "Configuring code scanning" > "Avoiding unnecessary scans of pull requests".
2022-03-30 13:12:59 +02:00
Ashley Harrison
8159379ba6
Update stale.yml (#46827) 2022-03-22 13:21:14 +01:00
Zoltán Bedi
91265e6c8e
Bump publish docs node version (#46475) 2022-03-11 21:28:12 +01:00
Ashley Harrison
bc26d42980
Update stale.yml (#46082) 2022-03-02 11:57:17 +00:00
Timur Olzhabayev
6f14490c6b
Making yarn.lock bump work (#46016) 2022-03-01 11:16:18 +01:00
Timur Olzhabayev
fd644c48ac
Switching to github.event.number as issue.number not always work (#46018) 2022-03-01 11:09:03 +01:00
Ashley Harrison
44a3243629
Update stale.yml (#45902) 2022-02-25 13:05:34 +01:00
Timur Olzhabayev
ab0bbf6715
fix: update bump-version-action node runtime to 16 (#45856) 2022-02-25 11:22:42 +01:00
Ashley Harrison
b798520ba7
Chore: Add github action to manage stale PRs (#45766)
* Add github action to manage stale PRs

* Update days before close
2022-02-24 09:29:39 +00:00
Levente Balogh
0dfde923e3
fix: fix link pointing to breaking changes guideline (#45662) 2022-02-21 12:49:25 +01:00
dependabot[bot]
d9a5af3d6f
Bump actions/github-script from 5 to 6 (#45360)
Bumps [actions/github-script](https://github.com/actions/github-script) from 5 to 6.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/github-script
  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>
2022-02-16 10:51:40 +01:00
Levente Balogh
27ee091d49
Chore: fix Levitate reporting issues with missing PR numbers (#45381)
* chore: persist the PR number in the Levitate workflow artifact

This is going to be used later in the reporting workflow, as for
3rd party (fork) PRs Github doesn't correctly populate the `workflow_run` context (the PR number is missing from it).

* chore: use the PR number from the artifact for Levitate reporting
2022-02-15 11:10:44 +01:00
Levente Balogh
4aca996c55
fix: use the a PAT instead of the GITHUB_TOKEN (#45376) 2022-02-15 11:06:23 +01:00
Levente Balogh
5e9faec428
Chore: guideline for dealing with breaking changes (#45128)
* Wip

* docs: add the first version of the breaking-changes guidelines

* chore: add a graphic about the CI workflow

* docs: add information about the CI workflow

* docs: add TOC to the breaking changes guideline

* chore: add a link in the comment to the guideline

* docs: fine-tune the style of the last paragraph

* docs: fix the way we reference `deprecationWarning()`

* fix: Prettier issues

* fix: fix Prettier issues

* docs: update the wording in the guide

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>

* docs: update the wording in the guide

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>

* docs: update the wording in the guide

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>

* docs: update the wording in the guide

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>

* docs: update the wording in the guide

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>

* docs: fix typo in the guideline

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>

* docs: fix typo in the guideline

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>

* docs: fix typo in the guideline

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>

* docs: update the wording in the guide

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>

* docs: update the wording in the guide

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>

* docs: update the wording in the guide

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>

* fix: fix prettier issues

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2022-02-11 09:29:57 +01:00
Timur Olzhabayev
a771cbd871
fix(github_actions): workflow execution concurrency is now limited to 1 (#45125) 2022-02-10 14:01:18 +01:00
Levente Balogh
fba9c0be53
chore(levitate-reporting): update the variables sent to Slack (#45122)
The previously used `.url` property was actually giving back a link to the API,
which is not the most suitable thing for us.
2022-02-09 10:08:22 +00:00
Jack Westbrook
f885c2ede9
Chore: Make detect breaking changes workflow backport compatible (#45005)
* fix(detect-breaking-changes): use the base.ref for backport compatibility

* chore(check-breaking-changes): update path to previous package dist directory
2022-02-08 11:33:33 +01:00
Levente Balogh
ffee50b57c
chore: send a notification to Slack when there is a breaking change (#44699)
We would like this to have a bit better chance for helping out with
breaking changes in the beginning and also to have a historical overview
of what happened.
2022-02-08 11:20:11 +01:00
Jack Westbrook
5b61273497
CI: Update breaking changes workflow to compare against main (#44097)
* ci(breaking-changes): split into separate builds for pr and main

* ci(breaking-changes): add path for npm install steps

* ci(breaking-changes): fix up workflow, update bash script
2022-01-20 10:20:32 +01:00
Timur Olzhabayev
fffd4c10b7
chore(checks): skip draft PRs (#43519)
* chore(checks): skip draft PRs for PR checks action
2022-01-17 19:16:33 +01:00
malcolmholmes
6d072ad84d
Split prepare-release (#44124) 2022-01-17 16:00:53 +00:00
malcolmholmes
cc9cbb8fab
Release: remove bump from prepare release action (#44111) 2022-01-17 15:18:13 +00:00
Marcus Efraimsson
c1a9a36bd2
Chore: Add PR Check action enforcing backport decision (#43916)
Ref https://github.com/grafana/grafana-github-actions/pull/53
Ref https://github.com/grafana/grafana-release/issues/60
2022-01-12 13:09:25 +01:00
dependabot[bot]
44cca3e4c1
Bump actions/setup-node from 2.4.1 to 2.5.1 (#43570)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.1 to 2.5.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.4.1...v2.5.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  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>
2022-01-11 12:15:50 +01:00
dependabot[bot]
6435222d82
Bump actions/cache from 2.1.6 to 2.1.7 (#42176)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-11 12:14:37 +01:00
Levente Balogh
aeddfb0506
Github Actions: another fix for the levitate workflow (#43742)
* fix: add col number to the link to work correctly

If we don't provide the position in a #step:{line}:{column} format
then the Github UI won't take us to the correct step.

* fix: escape the backtick ("`") characters properly
2022-01-06 12:02:45 +01:00
Levente Balogh
ef35fd4069
Github Actions: another fix for the levitate workflow (#43659)
* chore: link to the actual workflow step

* chore: make the "Detect" workflow fail if there were any breaking changes

* chore: stop making the reporting workflow fail on breaking changes

* fix: fix typo (`mesage` -> `message`)
2022-01-04 13:54:38 +01:00
Levente Balogh
00c356f55f
fix: checkout the repo to have the helper scripts available (#43646) 2022-01-04 11:08:08 +01:00
Levente Balogh
1e3cf75862
Github Actions: update the reporting for the levitate workflow (#43621)
* chore: stop checking out the repo and use the `unzip` command

* refactor: remove deprecated workflow script

* refactor: add whitespace around template variable
2022-01-04 10:23:28 +01:00
Levente Balogh
8ed5b95f42
Chore: change triggering of the detect-breaking-changes Github flow (#43188)
* chore: only run the breaking-changes flow on pull requests

* chore: run the detect-breaking-changes flow on opening a PR

* chore: use

* Wip

* Wip

* Wip

* Wip

* Wip

* Wip

* Wip

* Wip

* Wip

* Wip

* Wip

* Wip

* Wip

* Wip

* Wip

* Wip

* Wip

* trying to get workflow split running.

* trying to trigger workflow.

* trying to trigger.

* Splits levitate job into two workflows.

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2022-01-03 12:48:12 +01:00
Maria Alexandra
739e9d88d1
Chore: Add command to remove issue from project in GH actions (#43595)
Co-authored-by: natellium <natalia.bernarte@grafana.com>
2021-12-30 17:45:27 +01:00
Hugo Häggmark
b41c3124bb
Chore: Update Prepare release action (#43397)
* Update bump-version.yml

* Chore: test

* tst

* use right branc

* use right test

* chore: test

* Chore: test

* Chore: test

* Chore:test

* WIP: test

* WIP: test

* WIP: test

* WIP: test

* Chore: revert workflows

* WIP: test

* Update prepare-release.yml

* WIP: test

* Chore: test

* WIP: test

* Update prepare-release.yml

* Update bump-version.yml

* Update prepare-release.yml

* Update bump-version.yml

* Update prepare-release.yml

* Update prepare-release.yml

* Chore: update close-milestone

* Update close-milestone.yml

* Chore: update remove-milestone

* Update prepare-release.yml

* Chore: updates update-changelog

* Update prepare-release.yml

* Update prepare-release.yml

* Chore: forgot the version_call param

* Update prepare-release.yml

* Update bump-version.yml

* Update close-milestone.yml

* Update remove-milestone.yml

* Update update-changelog.yml

* Chore: removes empty spaces

* Update prepare-release.yml

* Start Test: change ref to test github action bump version

* test: use the right branch reference

* Update bump-version.yml

* ref right branches

Co-authored-by: Maria Alexandra <239999+axelavargas@users.noreply.github.com>
2021-12-21 14:34:05 +01:00
Maria Alexandra
0ce7799046
Chore: Create prepare release action (#43357)
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2021-12-20 14:16:22 +01:00
Maria Alexandra
7c5d5c0128
Chore: Create close milestone github action (#43269) 2021-12-17 11:14:09 +01:00
Levente Balogh
3f554f58bd
Detecting breaking changes (#42934)
* chore: add a script for detecting breaking changes

* chore: add a temporary binary for POC3

* chore: add a Github Action workflow for detecting breaking changes

* chore: remove unused variables from the script

* chore: rename the POC3 executable script

* chore: add a label if there is a breaking change

* chore: remove "breaking change" label if all is passing

* chore: rename steps

* fix: only remove the label if there were no breaking changes

* chore: jump to the correct step

* chore: skip `@grafana/toolkit`

* chore: add a message for opening links in a new tab

* chore: update comment message

* chore: use Node 16 for the breaking changes workflow

* chore: install Yarn separately

* chore: use @grafana/levitate

* refactor: remove the unused levitate.js bundle

* fix: handle error when trying to remove a label that does not exist

* chore: delete the comment if there are no breaking changes

* chore: add reviewers automatically

* fix: use double-quote in shell script

* TEMPORARY: introduce a breaking change in `@grafana/data`

* fix: use correct line number for the breaking changes

* Revert "TEMPORARY: introduce a breaking change in `@grafana/data`"

This reverts commit 986ac9ab82.

* chore: remove unnecessary line from .eslintignore
2021-12-15 17:07:11 +01:00
Marcus Efraimsson
2b1ed43cb2
Chore: Support PR checks for forks (#43128) 2021-12-15 09:57:04 +01:00
Maria Alexandra
7fc2c687ec
Chore: Remove unnecessary metric tokens in the "remove milestone" workflow (#43096)
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-12-14 16:18:28 +01:00
Ashley Harrison
e1a5fa063a
Chore: Add remove-milestone workflow (#43086)
* Add remove milestone action

* Update name

* Chore: use main branch from github action repository

Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
2021-12-14 13:54:19 +01:00
Marcus Efraimsson
8e0da70026
Chore: Add PR Check action enforcing a milestone is set (#43025)
Adds a PR Check action with a rule that enforces a milestone is set on the PR. 

Ref grafana/grafana-github-actions#34
Ref grafana/grafana-github-actions#42
2021-12-14 11:33:13 +01:00
Timur Olzhabayev
984d26ce86
chore(pr-actions): remove milestone when pr is closed (#42895)
* chore(pr-actions): remove milestone when pr is closed without being merged

* Update .github/workflows/pr-commands-closed.yml

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2021-12-08 18:58:17 +01:00
kay delaney
b2e94d0733
Chore: Migrate yarn from v1 to v2 (#39082)
* Chore: Migrate yarn from v1 to v2

Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2021-10-08 15:19:10 +01:00
dependabot[bot]
887efce8b1
Bump actions/setup-node from 2.4.0 to 2.4.1 (#39665)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.4.0...v2.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 12:18:43 +01:00
dependabot[bot]
b5f256dcdf
Chore(deps): Bump actions-ecosystem/action-regex-match (#39497)
Bumps [actions-ecosystem/action-regex-match](https://github.com/actions-ecosystem/action-regex-match) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/actions-ecosystem/action-regex-match/releases)
- [Commits](https://github.com/actions-ecosystem/action-regex-match/compare/v2.0.1...v2.0.2)

---
updated-dependencies:
- dependency-name: actions-ecosystem/action-regex-match
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 12:16:02 +01:00
dependabot[bot]
f1edd0ea08
Chore(deps): Bump actions-ecosystem/action-regex-match from 2 to 2.0.1 (#33966)
Bumps [actions-ecosystem/action-regex-match](https://github.com/actions-ecosystem/action-regex-match) from 2 to 2.0.1.
- [Release notes](https://github.com/actions-ecosystem/action-regex-match/releases)
- [Commits](https://github.com/actions-ecosystem/action-regex-match/compare/v2...v2.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-21 15:10:55 +02:00
dependabot[bot]
f8b5b3386f
Bump actions/setup-node from 2.1.5 to 2.4.0 (#37619)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.1.5 to 2.4.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.5...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  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>
2021-09-21 15:10:29 +02:00
dependabot[bot]
0b945f3db4
Bump actions/cache from 2.1.5 to 2.1.6 (#34867)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.5 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-26 08:27:37 +02:00
Arve Knudsen
c2c1ec7d0f
Chore: Move from master to main branch (#33693)
* Chore: Move from master branch to main

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* CI: Upgrade build pipeline tool to v2

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-05-06 16:29:29 +02:00
dependabot[bot]
2466565862
Chore(deps): Bump actions/cache from v2.1.4 to v2.1.5 (#32925)
Bumps [actions/cache](https://github.com/actions/cache) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.4...1a9e2138d905efd099035b49d8b7a3888c653ca8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-27 16:43:41 +02:00
Torkel Ödegaard
9873809547
Docs: Sync master docs against next version (#32602)
Co-authored-by: Robby Milo <robbymilo@gmail.com>
2021-04-12 09:42:10 +02:00
Giordano Ricci
a8ed304f82
Chore: remove checkout step (#31614) 2021-03-24 13:40:34 +00:00
Marcus Efraimsson
c8d8dcd067
Automation: Label pull requests based on changed files (#32039)
* Automation: Label pull requests based on changed files

* Update commands

* Updates for build-packaging

* fix path to backend architecture docs
2021-03-17 12:49:57 +01:00
ying-jeanne
a7e243db8a
update bump-version.yml (#31542)
* update bump-version.yml

* Update bump-version.yml
2021-03-11 15:38:58 +01:00
dependabot[bot]
a4c6896660
Chore(deps): Bump actions/setup-node from v2.1.4 to v2.1.5 (#31406)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.4...46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-05 07:54:23 +01:00
dependabot[bot]
549a2bab3b
Chore(deps): Bump actions/cache from v2 to v2.1.4 (#30973)
Bumps [actions/cache](https://github.com/actions/cache) from v2 to v2.1.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...26968a09c0ea4f3e233fdddbafd1166051a095f6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-08 14:03:58 +01:00
dependabot[bot]
a99edd2f34
Bump actions/setup-node from v1 to v2.1.4 (#29891)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v1 to v2.1.4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v1...c46424eee26de4078d34105d3de3cc4992202b1e)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-05 16:54:09 +01:00
Torkel Ödegaard
0e0ab8c9ef
GitHubActions: Update node version in github action (#29683) 2020-12-08 17:09:22 +01:00
Torkel Ödegaard
18534a1c9c
Docs: Fix docs sync actions (#29551) 2020-12-02 21:38:57 +01:00
Torkel Ödegaard
d2fb910912
Automation: Adds GitHub release action (#29194)
* Automation: Adds GitHub release action

* Updated wording

* minor update
2020-11-18 11:24:31 +01:00
Torkel Ödegaard
d6d5d8cf4a
Automation: Adds new changelog actions (#29142)
* Automation: Adds new changelog actions

* Update

* Add newline

* added link

* Another fix
2020-11-16 21:34:19 +01:00
Torkel Ödegaard
a84fba5f9b Automation: Adding version bump action 2020-11-15 11:50:43 +01:00
Torkel Ödegaard
3b9523fad7
Move metrics collector queries to config (#28549) 2020-10-26 19:43:58 +01:00
Marcus Andersson
e663bc5cdd
Docs: improved github action that syncs docs to website (#28277)
* adding cache and making sure we don't fail build if no changes have been made.

* fixed indentation.

* changed so we use the shared repo for the sync action.
2020-10-21 16:01:02 +02:00
Torkel Ödegaard
95a1993443
Automation: Update backport github action trigger (#28352)
It seems like GitHub has solved the problem of running github actions on PRs from forks with access to secrets. 

https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/#improvements-for-public-repository-forks

If I change the event that triggers it to pull_request_target the action is run in the context of the base instead of the merged PR branch
2020-10-19 09:46:13 +02:00
Torkel Ödegaard
5036c87540
Automation: Add backport github action (#28318) 2020-10-16 15:47:01 +02:00
Marcus Andersson
f334cc4576
Docs: generate packages docs before syncing to website (#27879)
* updated to latest version of api-documenter.

* saved lockfile after upgrade.

* adding yarn to docker environment.

* adding packages to trigger paths.

* added steps to workflow for generating docs.

* reverted back to api-documenter 0.9.3
2020-10-14 17:03:35 +02:00
Torkel Ödegaard
68e925c9c7 Updated 2020-10-09 20:53:54 +02:00
Torkel Ödegaard
934e2a626f GithubActions: Updated cron schedule 2020-10-09 20:46:15 +02:00
Torkel Ödegaard
5b0495ea6a
Github: run metrics collector workflow every 10min (#28153) 2020-10-09 20:43:41 +02:00
Torkel Ödegaard
ec215e18bc
Automation: Adds github action to collect issue metrics (#28139) 2020-10-09 15:20:04 +02:00
Torkel Ödegaard
46a91f2b94
Automation: Add sending metrics to Grafana Cloud (#28119)
Sends metrics from github automation actions to Grafana Cloud
2020-10-08 16:06:24 +02:00
Torkel Ödegaard
253c183430 GithubActions: Fixed workflow 2020-10-07 09:35:40 +02:00
Torkel Ödegaard
810d171bf5
Automation: Adds github automation commands, and base architecture to build more automation on (#28072)
* Automation: Adds github automation commands, and base architecture to build more automation on

* Updated commmand

* updated commands

* Updated token name
2020-10-07 09:33:05 +02:00
Arve Knudsen
a2816ee64a
Add codeql-analysis.yml (#28029) 2020-10-06 09:58:25 +02:00
Robby Milo
e60b124001
change sync target branch to master (#21930) 2020-02-13 06:10:25 -08:00
Robby Milo
c43aa3485c Docs: Sync docs with website repo via GitHub Action (#20694)
* add GitHub action to sync docs with website repo

* remove trigger-docs-update from circleci jobs

* update access token
2019-12-04 14:36:50 +01:00