Commit Graph

61 Commits

Author SHA1 Message Date
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