1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
Commit Graph

127 Commits

Author SHA1 Message Date
Gastón Fournier
95d300379a
chore: moved GH action script to the yaml file (#3119)
## About the changes
- Actions are not counting successfully:
https://github.com/Unleash/unleash/actions/runs/4181713524/jobs/7243938807#step:5:17
- This should fix an issue with running yarn concurrently (which might
be leading to the zero counts)
- Move the code to a GH action so it's easier to debug 
- Added a diff of the reported errors to help the PR author identify the
potential cause
2023-02-16 13:35:54 +01:00
Gastón Fournier
7aed1e0d13
chore: gradually reduce null-check errors (#3094)
## About the changes

In order to move us towards enabling `strictNullChecks` we'd want to
have a way of gradually enabling this without having to fix all errors
at once, this will force us to start reducing the number of null check
issues.

This new workflow:
1. [Checks out the current branch and main into 2 different
folders](https://github.com/Unleash/unleash/pull/3094/files#diff-068f2ace1d1d2e773fb5e4240c83ccab251556fd5524fe13847122878e40da3bR15-R23)
2. Uses the **same** script `gradual-strict-null-checks.sh` (from the
current branch) [against each folder in
parallel](https://github.com/Unleash/unleash/pull/3094/files#diff-068f2ace1d1d2e773fb5e4240c83ccab251556fd5524fe13847122878e40da3bR34-R38)
to count the number of errors if `strictNullChecks` was enabled
3. If the number of potential errors in the current branch is higher
than the number of potential errors in main [it
fails](https://github.com/Unleash/unleash/pull/3094/files#diff-068f2ace1d1d2e773fb5e4240c83ccab251556fd5524fe13847122878e40da3bR41-R46)

As an example, a [new issue was introduced in this
PR](753f57223c)
(and then
[reverted](e4deb62965)),
so we can test the build failure:

https://github.com/Unleash/unleash/actions/runs/4163632636/jobs/7204268519#step:5:10


## Discussion points
This could be a non-mandatory check, just advising, or even adding a
comment in the PR. It might be good to start with a non-strict check,
but at the same time we can decide to make it non-strict if a problem
appears

In some situations, an additional null check error might require us to
fix a bunch of them, increasing the time to deliver. In these cases we
can suppress an individual line with `// @ts-ignore: Object is possibly
'null'.` although might defeat the purpose of this workflow
2023-02-14 15:52:21 +01:00
renovate[bot]
cc30b3b3fd
chore(deps): update docker/login-action action to v2 (#2962)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [docker/login-action](https://togithub.com/docker/login-action) |
action | major | `v1` -> `v2` |

---

### Release Notes

<details>
<summary>docker/login-action</summary>

### [`v2`](https://togithub.com/docker/login-action/compare/v1...v2)

[Compare
Source](https://togithub.com/docker/login-action/compare/v1...v2)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDUuNCIsInVwZGF0ZWRJblZlciI6IjM0LjEwOC40In0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-13 09:50:49 +01:00
Mateusz Kwasniewski
719217e190
refactor: move repo sync signal after npm publish (#3071) 2023-02-09 10:05:57 +01:00
Mateusz Kwasniewski
ff3bdf4995
feat: "GH action" trigger another repo 2023-02-09 09:47:42 +01:00
Gard Rimestad
9ef4900baf
feat: remove CI build trigger (#3070)
We do not need this trigger anymore as we auto-release beta versions
from this repository and auto bump the dependency in unleash-enterprise.
2023-02-09 09:13:43 +01:00
Mateusz Kwasniewski
5e98b8cb96
fix: "GH action" push tags for publish 2023-02-08 17:03:12 +01:00
Mateusz Kwasniewski
072154a06f
fix: "Github actions" ignore npm publish scripts 2023-02-08 16:29:49 +01:00
Mateusz Kwasniewski
3969d55686
fix: "GH actions" concurrency without cancel in progress 2023-02-08 16:11:18 +01:00
Mateusz Kwasniewski
88ce04253d
fix: "GH Actions" comments cleanup 2023-02-08 16:01:24 +01:00
Mateusz Kwasniewski
3013166023
fix: gh action 2023-02-08 15:41:28 +01:00
Mateusz Kwasniewski
1da47eb3a4
Update continuous-publish-new-version.yaml 2023-02-08 15:40:43 +01:00
Mateusz Kwasniewski
b310d98da3
feat: continuous beta version npm release (#3066) 2023-02-08 15:32:37 +01:00
Thomas Heartman
1ca918295a
docs: generate docs daily (#3067)
## What

This change fixes the `generate-docs` workflow, so that they'll run
daily as a cron job. The `schedule` property had been erroneously listed
as a sub-property of the `workflow_dispatch` property.

## Why

The way the docs are set up at the moment, they source a lot of their
content from external repos. As it stands, we don't listen for update
events in all of those external dependencies, so we don't know when they
update. We do still want the docs to be reasonably fresh, though.

So to achieve this, we can run this workflow once a day to make sure
that no docs are more than 24 hours old.
2023-02-08 10:30:00 +00:00
Jaanus Sellin
9f93f78fcc
Cypress test for importing (#3058) 2023-02-08 11:16:38 +02:00
andreas-unleash
e589e56373
Add multiple tags (#3032)
Add Tag dialog redesign to allow batch add

Some Refactoring

Signed-off-by: andreas-unleash <andreas@getunleash.ai>

<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

<!-- Does it close an issue? Multiple? -->
Closes
[1-611](https://linear.app/unleash/issue/1-611/create-a-auto-complete-component-for-tags)

<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#
-->

### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->


https://user-images.githubusercontent.com/104830839/216286897-4e392822-57c2-4e50-a5d8-e89d006b3fa5.mov

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-02-03 12:28:06 +02:00
Tymoteusz Czech
340bcf1d1b
fix: add frontend eslint check (#2562)
Add eslint to CI pipeline
2023-01-02 10:46:32 +01:00
Ivar Conradi Østhus
8e5ca352c3
fix: allow publish-new-version action to run from branch (#2698)
We cannot hard code the branch to be "main" if we want to allow the
release script to also run from branch (e.g. 4.18 maintenance branch)
2022-12-15 09:25:44 +01:00
Mateusz Kwasniewski
1e8801b652
remove postgres because we dont run tests anymore (#2649) 2022-12-09 11:52:48 +01:00
Mateusz Kwasniewski
b62b955f4d
do not test again when creting version from github actions (#2639) 2022-12-09 09:30:16 +01:00
Mateusz Kwasniewski
a15157465c
Update publish-new-version.yaml 2022-12-06 09:46:41 +01:00
Mateusz Kwasniewski
9e1fa06832
Update publish-new-version.yaml 2022-12-06 08:29:34 +01:00
Mateusz Kwasniewski
925b89b899
Update publish-new-version.yaml 2022-12-05 17:10:14 +01:00
Mateusz Kwasniewski
8bf7d31fed
Update publish-new-version.yaml 2022-12-05 16:32:10 +01:00
Mateusz Kwasniewski
e378f904bd
Update publish-new-version.yaml 2022-12-05 16:16:18 +01:00
Mateusz Kwasniewski
6f38f408b6
Update publish-new-version.yaml 2022-12-05 16:04:49 +01:00
Mateusz Kwasniewski
0dc6dfc5aa
Update publish-new-version.yaml 2022-12-05 16:01:40 +01:00
Mateusz Kwasniewski
8243c9d181
Update publish-new-version.yaml 2022-12-05 15:59:13 +01:00
Mateusz Kwasniewski
c1027d0359
Update publish-new-version.yaml 2022-12-05 15:51:20 +01:00
Mateusz Kwasniewski
8895004e03
Update publish-new-version.yaml 2022-12-05 15:49:22 +01:00
Mateusz Kwasniewski
31dbf098a2
github action to publish new npm version (#2599) 2022-12-05 15:46:02 +01:00
Gard Rimestad
a425bcb3b8
feat: upload main branch builds to cdn (#2415)
This enables us to run tip of main builds of enterprise pointing to the
newest frontend builds.
2022-11-14 11:01:07 +01:00
renovate[bot]
0daf3e53d1
chore(deps): update lycheeverse/lychee-action action to v1.5.4 (#2367)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[lycheeverse/lychee-action](https://togithub.com/lycheeverse/lychee-action)
| action | patch | `v1.5.1` -> `v1.5.4` |

---

### Release Notes

<details>
<summary>lycheeverse/lychee-action</summary>

###
[`v1.5.4`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.5.4):
Version 1.5.4

[Compare
Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.5.3...v1.5.4)

#### What's Changed

- Cleanup old lychee bin after install by
[@&#8203;mre](https://togithub.com/mre) in
[https://github.com/lycheeverse/lychee-action/pull/172](https://togithub.com/lycheeverse/lychee-action/pull/172)

**Full Changelog**:
https://github.com/lycheeverse/lychee-action/compare/v1...v1.5.4

###
[`v1.5.3`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.5.3):
Version 1.5.3

[Compare
Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.5.2...v1.5.3)

#### What's Changed

- Bump lychee version to fix issues with email checking by
[@&#8203;mre](https://togithub.com/mre) in
[https://github.com/lycheeverse/lychee-action/pull/171](https://togithub.com/lycheeverse/lychee-action/pull/171)

**Full Changelog**:
https://github.com/lycheeverse/lychee-action/compare/v1...v1.5.3

###
[`v1.5.2`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.5.2):
Version 1.5.2

[Compare
Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.5.1...v1.5.2)

#### What's Changed

- Replace deprecated `::set-output` by `$GITHUB_ENV` by
[@&#8203;Yury-Fridlyand](https://togithub.com/Yury-Fridlyand) in
[https://github.com/lycheeverse/lychee-action/pull/167](https://togithub.com/lycheeverse/lychee-action/pull/167)
- fix: install lychee to a user owner directory by
[@&#8203;aslafy-z](https://togithub.com/aslafy-z) in
[https://github.com/lycheeverse/lychee-action/pull/162](https://togithub.com/lycheeverse/lychee-action/pull/162)
- docs: bump version in README by
[@&#8203;tooomm](https://togithub.com/tooomm) in
[https://github.com/lycheeverse/lychee-action/pull/156](https://togithub.com/lycheeverse/lychee-action/pull/156)
- docs: small adjustments to README by
[@&#8203;tooomm](https://togithub.com/tooomm) in
[https://github.com/lycheeverse/lychee-action/pull/157](https://togithub.com/lycheeverse/lychee-action/pull/157)
- Order args alphabetically by [@&#8203;mre](https://togithub.com/mre)
in
[https://github.com/lycheeverse/lychee-action/pull/159](https://togithub.com/lycheeverse/lychee-action/pull/159)
- Add debug argument by [@&#8203;mre](https://togithub.com/mre) in
[https://github.com/lycheeverse/lychee-action/pull/160](https://togithub.com/lycheeverse/lychee-action/pull/160)
- Bump actions/checkout from 3.0.2 to 3.1.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/lycheeverse/lychee-action/pull/165](https://togithub.com/lycheeverse/lychee-action/pull/165)

#### New Contributors

- [@&#8203;aslafy-z](https://togithub.com/aslafy-z) made their first
contribution in
[https://github.com/lycheeverse/lychee-action/pull/162](https://togithub.com/lycheeverse/lychee-action/pull/162)
- [@&#8203;Yury-Fridlyand](https://togithub.com/Yury-Fridlyand) made
their first contribution in
[https://github.com/lycheeverse/lychee-action/pull/167](https://togithub.com/lycheeverse/lychee-action/pull/167)

**Full Changelog**:
https://github.com/lycheeverse/lychee-action/compare/v1...v1.5.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuMTkuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 23:59:14 +01:00
renovate[bot]
2fb548f4ca
chore(deps): update metcalfc/changelog-generator action to v4 (#2294)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[metcalfc/changelog-generator](https://togithub.com/metcalfc/changelog-generator)
| action | major | `v3.0.0` -> `v4.0.1` |

---

### Release Notes

<details>
<summary>metcalfc/changelog-generator</summary>

###
[`v4.0.1`](https://togithub.com/metcalfc/changelog-generator/releases/tag/v4.0.1)

[Compare
Source](https://togithub.com/metcalfc/changelog-generator/compare/v4.0.0...v4.0.1)

-
[31b6d6f](31b6d6f9e6)
- Cleaning up some minor dep bumps.
-
[7f6db29](7f6db2945d)
- Merge pull request
[#&#8203;162](https://togithub.com/metcalfc/changelog-generator/issues/162)
from metcalfc/dependabot/npm_and_yarn/eslint-8.26.0
-
[c2c3288](c2c3288f0d)
- Merge pull request
[#&#8203;163](https://togithub.com/metcalfc/changelog-generator/issues/163)
from metcalfc/dependabot/npm_and_yarn/replace-1.2.2
-
[317f12d](317f12dbf2)
- Bump replace from 1.2.1 to 1.2.2
-
[d2c4bfc](d2c4bfcc29)
- Bump eslint from 8.24.0 to 8.26.0

###
[`v4.0.0`](https://togithub.com/metcalfc/changelog-generator/releases/tag/v4.0.0)

[Compare
Source](https://togithub.com/metcalfc/changelog-generator/compare/v3.0.0...v4.0.0)

-
[62b45ff](62b45fffb5)
- Upgrading to Node 16.
-
[78be9a2](78be9a21df)
- Switching to GITHUB_OUTPUT.
-
[b1a95e5](b1a95e5285)
- Switching to node 16.
-
[3327c21](3327c21f3e)
- Merge pull request
[#&#8203;157](https://togithub.com/metcalfc/changelog-generator/issues/157)
from metcalfc/dependabot/npm_and_yarn/eslint-8.24.0
-
[47b26c3](47b26c3621)
- Merge pull request
[#&#8203;159](https://togithub.com/metcalfc/changelog-generator/issues/159)
from metcalfc/dependabot/npm_and_yarn/actions/core-1.10.0
-
[9f319d4](9f319d47c2)
- Merge pull request
[#&#8203;160](https://togithub.com/metcalfc/changelog-generator/issues/160)
from metcalfc/dependabot/npm_and_yarn/actions/github-5.1.1
-
[07e86fc](07e86fc792)
- Bump [@&#8203;actions/github](https://togithub.com/actions/github)
from 5.0.3 to 5.1.1
-
[3b3ffa3](3b3ffa30c6)
- Bump [@&#8203;actions/core](https://togithub.com/actions/core) from
1.9.1 to 1.10.0
-
[4d25998](4d259988b2)
- Bump eslint from 8.23.1 to 8.24.0
-
[b14e7b5](b14e7b5b1f)
- Merge pull request
[#&#8203;153](https://togithub.com/metcalfc/changelog-generator/issues/153)
from metcalfc/dependabot/npm_and_yarn/eslint-8.23.1
-
[f9abb7d](f9abb7dc32)
- Merge pull request
[#&#8203;154](https://togithub.com/metcalfc/changelog-generator/issues/154)
from metcalfc/dependabot/github_actions/actions/stale-6
-
[6188b7b](6188b7bffc)
- Bump actions/stale from 5 to 6
-
[14b9af3](14b9af3836)
- Bump eslint from 8.23.0 to 8.23.1
-
[4d3002b](4d3002ba1b)
- Merge pull request
[#&#8203;151](https://togithub.com/metcalfc/changelog-generator/issues/151)
from metcalfc/dependabot/npm_and_yarn/eslint-8.23.0
-
[76e3028](76e302839c)
- Bump eslint from 8.21.0 to 8.23.0
-
[50f6989](50f6989629)
- Merge pull request
[#&#8203;149](https://togithub.com/metcalfc/changelog-generator/issues/149)
from metcalfc/dependabot/npm_and_yarn/actions/core-1.9.1
-
[f06c31f](f06c31fb2e)
- Bump [@&#8203;actions/core](https://togithub.com/actions/core) from
1.8.2 to 1.9.1
-
[5e0835b](5e0835b79e)
- Merge pull request
[#&#8203;139](https://togithub.com/metcalfc/changelog-generator/issues/139)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.34.0
-
[cd521f3](cd521f3fbf)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.33.4
to 0.34.0
-
[2656a3f](2656a3ff66)
- Merge pull request
[#&#8203;143](https://togithub.com/metcalfc/changelog-generator/issues/143)
from metcalfc/dependabot/npm_and_yarn/prettier-2.7.1
-
[f7f7861](f7f7861fbc)
- Bump prettier from 2.6.2 to 2.7.1
-
[b8b5290](b8b5290107)
- Merge pull request
[#&#8203;148](https://togithub.com/metcalfc/changelog-generator/issues/148)
from metcalfc/dependabot/npm_and_yarn/eslint-8.21.0
-
[a9c1b1d](a9c1b1d2f9)
- Bump eslint from 8.16.0 to 8.21.0
-
[199cd09](199cd0966a)
- Merge pull request
[#&#8203;137](https://togithub.com/metcalfc/changelog-generator/issues/137)
from metcalfc/dependabot/npm_and_yarn/actions/github-5.0.3
-
[daf6659](daf6659a8e)
- Merge pull request
[#&#8203;136](https://togithub.com/metcalfc/changelog-generator/issues/136)
from metcalfc/dependabot/npm_and_yarn/actions/core-1.8.2
-
[1f3885f](1f3885f211)
- Merge pull request
[#&#8203;138](https://togithub.com/metcalfc/changelog-generator/issues/138)
from metcalfc/dependabot/npm_and_yarn/eslint-8.16.0
-
[4b50f73](4b50f737c5)
- Bump eslint from 8.14.0 to 8.16.0
-
[83fe5ca](83fe5ca7cd)
- Bump [@&#8203;actions/github](https://togithub.com/actions/github)
from 5.0.1 to 5.0.3
-
[fee05d0](fee05d082b)
- Bump [@&#8203;actions/core](https://togithub.com/actions/core) from
1.8.0 to 1.8.2
-
[c0d0436](c0d0436bbd)
- Merge pull request
[#&#8203;130](https://togithub.com/metcalfc/changelog-generator/issues/130)
from metcalfc/dependabot/github_actions/github/codeql-action-2
-
[b0b413b](b0b413b1ad)
- Merge pull request
[#&#8203;129](https://togithub.com/metcalfc/changelog-generator/issues/129)
from metcalfc/dependabot/npm_and_yarn/eslint-8.14.0
-
[1d1490a](1d1490acc0)
- Merge pull request
[#&#8203;132](https://togithub.com/metcalfc/changelog-generator/issues/132)
from metcalfc/dependabot/npm_and_yarn/actions/core-1.8.0
-
[5f0cef2](5f0cef22d4)
- Bump [@&#8203;actions/core](https://togithub.com/actions/core) from
1.6.0 to 1.8.0
-
[b8c934f](b8c934f1ca)
- Bump eslint from 8.12.0 to 8.14.0
-
[2039c9d](2039c9dc0f)
- Merge pull request
[#&#8203;128](https://togithub.com/metcalfc/changelog-generator/issues/128)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.33.4
-
[bf5a458](bf5a458a53)
- Merge pull request
[#&#8203;126](https://togithub.com/metcalfc/changelog-generator/issues/126)
from metcalfc/dependabot/github_actions/actions/stale-5
-
[0435317](0435317a67)
- Bump github/codeql-action from 1 to 2
-
[d5e4a03](d5e4a03a69)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.33.3
to 0.33.4
-
[0bccc87](0bccc87efb)
- Bump actions/stale from 4 to 5
-
[b3e06f6](b3e06f65d0)
- Merge pull request
[#&#8203;125](https://togithub.com/metcalfc/changelog-generator/issues/125)
from metcalfc/dependabot/npm_and_yarn/prettier-2.6.2
-
[4ab1afe](4ab1afe485)
- Bump prettier from 2.6.1 to 2.6.2
-
[193ce4a](193ce4ab75)
- Merge pull request
[#&#8203;124](https://togithub.com/metcalfc/changelog-generator/issues/124)
from metcalfc/dependabot/npm_and_yarn/actions/github-5.0.1
-
[f22520b](f22520b824)
- Bump [@&#8203;actions/github](https://togithub.com/actions/github)
from 5.0.0 to 5.0.1
-
[ca9591e](ca9591e4f7)
- Merge pull request
[#&#8203;123](https://togithub.com/metcalfc/changelog-generator/issues/123)
from metcalfc/dependabot/npm_and_yarn/eslint-8.12.0
-
[0288615](0288615c5a)
- Bump eslint from 8.8.0 to 8.12.0
-
[01033c7](01033c7a0f)
- Merge pull request
[#&#8203;122](https://togithub.com/metcalfc/changelog-generator/issues/122)
from metcalfc/dependabot/npm_and_yarn/prettier-2.6.1
-
[5bb1e89](5bb1e895e2)
- Merge pull request
[#&#8203;121](https://togithub.com/metcalfc/changelog-generator/issues/121)
from metcalfc/dependabot/npm_and_yarn/actions/exec-1.1.1
-
[4fb7bc8](4fb7bc8f7b)
- Merge pull request
[#&#8203;118](https://togithub.com/metcalfc/changelog-generator/issues/118)
from metcalfc/dependabot/github_actions/actions/checkout-3
-
[3df839a](3df839a15b)
- Merge pull request
[#&#8203;115](https://togithub.com/metcalfc/changelog-generator/issues/115)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.33.3
-
[7ad10bc](7ad10bc246)
- Bump prettier from 2.5.1 to 2.6.1
-
[4d7e87e](4d7e87e711)
- Bump [@&#8203;actions/exec](https://togithub.com/actions/exec) from
1.1.0 to 1.1.1
-
[c67ac13](c67ac13236)
- Bump actions/checkout from 2 to 3
-
[3a8e994](3a8e994591)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.33.1
to 0.33.3
-
[32b2a9d](32b2a9d3d1)
- Merge pull request
[#&#8203;113](https://togithub.com/metcalfc/changelog-generator/issues/113)
from metcalfc/dependabot/npm_and_yarn/node-fetch-2.6.7
-
[91f9837](91f98370eb)
- Bump node-fetch from 2.6.6 to 2.6.7
-
[90ea792](90ea792f98)
- Merge pull request
[#&#8203;112](https://togithub.com/metcalfc/changelog-generator/issues/112)
from metcalfc/dependabot/npm_and_yarn/eslint-8.8.0
-
[ddb5dcb](ddb5dcbde5)
- Bump eslint from 8.6.0 to 8.8.0
-
[adcb9e3](adcb9e3fe4)
- Merge pull request
[#&#8203;110](https://togithub.com/metcalfc/changelog-generator/issues/110)
from metcalfc/dependabot/npm_and_yarn/eslint-8.6.0
-
[f1a4362](f1a4362ec4)
- Bump eslint from 8.4.1 to 8.6.0
-
[3a8fa5f](3a8fa5f441)
- Merge pull request
[#&#8203;109](https://togithub.com/metcalfc/changelog-generator/issues/109)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.33.1
-
[e588057](e588057c44)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.33.0
to 0.33.1
-
[04f822a](04f822a59d)
- Merge pull request
[#&#8203;105](https://togithub.com/metcalfc/changelog-generator/issues/105)
from metcalfc/dependabot/npm_and_yarn/prettier-2.5.1
-
[8d588bb](8d588bb685)
- Merge pull request
[#&#8203;107](https://togithub.com/metcalfc/changelog-generator/issues/107)
from metcalfc/dependabot/npm_and_yarn/eslint-8.4.1
-
[049d721](049d721a05)
- Bump eslint from 8.3.0 to 8.4.1
-
[d36cc2c](d36cc2c9d3)
- Bump prettier from 2.5.0 to 2.5.1
-
[188a7c9](188a7c9a5d)
- Merge pull request
[#&#8203;104](https://togithub.com/metcalfc/changelog-generator/issues/104)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.33.0
-
[fbb1a6e](fbb1a6e574)
- Merge pull request
[#&#8203;103](https://togithub.com/metcalfc/changelog-generator/issues/103)
from metcalfc/dependabot/npm_and_yarn/prettier-2.5.0
-
[77d58d7](77d58d7940)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.31.1
to 0.33.0
-
[5d9b026](5d9b02630c)
- Bump prettier from 2.4.1 to 2.5.0
-
[b2f13c8](b2f13c87a6)
- Update README for reverse changes.
-
[74a0d45](74a0d45611)
- Fix version numbers in docs.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC42LjEiLCJ1cGRhdGVkSW5WZXIiOiIzNC4xOS4wIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 23:01:01 +01:00
Gastón Fournier
f1634bb524
fix: adapt to new CI builder format (#2303)
* fix: escape single quotes for curl

* Use new format of CI builder
2022-10-31 14:05:26 +01:00
Gastón Fournier
e1883caf0c
fix: escape single quotes ' for curl (#2272) 2022-10-27 14:35:46 +02:00
Gastón Fournier
b82d2b22d7
feat: trigger unleash-ci-builder (#2192)
* feat: trigger unleash-ci-builder

* Move job to build step
2022-10-14 16:48:03 +02:00
renovate[bot]
d30d2cdf0d
chore(deps): update lycheeverse/lychee-action action to v1.5.1 (#2156)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-09 20:22:56 +00:00
Tymoteusz Czech
47152cf05b
Feat/invite user (#2061)
* refactor: user creation screen cleanup

* feat: deprecation notice for google sso

* fix: docs openid typo

* invite link bar

* invite link page

* fix prettier docs

* regenerated openapi

* hooks for invite page api

* update openapi

* feat: invite link update

* feat: add public signup token soft-delete

* public signup frontend feature flag

* fix: new user api issues

* feat: allow for creating new user from invite link

* Feat/invite user public controller (#2106)

* added PublicInviteController for public urls

* added PublicInviteController for public urls

* added PublicInviteController for public urls

* added PublicInviteController for public urls

* fix test

* fix test

* update openapi

* refactor: password reset props

* fix: public invite schema and validation

Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>

* user invite frontend

Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>

* invite link delete confirmation dialog

* refactor: password reset action

* fix: new user invite loading state

* fix: run ts check with ci

* revert openapi changes

* fix: invite token api interface

* fix: openapi schema index

* fix: update test snapshots

* update frontend snapshot

* fix: prettier ci

* fix: updates after review

Co-authored-by: andreas-unleash <104830839+andreas-unleash@users.noreply.github.com>
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-09-30 13:01:32 +02:00
Gastón Fournier
65f2aaf6f5
fix: support coverage reports on external PRs (#2087)
* fix: support coverage reports on external PRs
* removed the coverage comment on the PR until we can investigate this further

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-09-27 15:51:04 +02:00
Gastón Fournier
c8a007684a
Revert usage of pull_request_target (#2088) 2022-09-26 12:53:20 +02:00
Thomas Heartman
2d04bd9ea2
Add OpenAPI docs (#1391) (#2066)
## What

This PR (finally 🎉) adds generated OpenAPI docs to the official Unleash documentation. In addition to generating docs when things get merged to main, it also pushes new doc updates every day at 12:00 AM (cron `@daily`).

## Why

Now that we have OpenAPI'd all the things, we can finally start using it. This will allow us to remove hand-written api docs from the documentation and should make sure everything is always kept up to date.

### Generating from us-hosted (Unleash enterprise)

Unleash has several different versions (open source, pro, enterprise). The versions do not necessarily have the exact same api surface. In fact, the enterprise version has a few endpoints that open source does not.

Because we want to have _all_ endpoints listed in the documentation we need to generated the docs from an enterprise spec. Which brings us into the next point:

### The need for scheduled jobs

Regarding the daily scheduled tasks to update the documentation: why do we need that?

The docs are generated from the tip of the main branch. For most of the docs, this is good and something that we want. However, because the OpenAPI docs are generated from the enterprise edition, it _will not be in sync_ with the open source main branch.

Also, we probably do not want the docs to list the current bleeding edge api changes. Instead, we should prefer to use the latest enterprise release (roughly). However, because we don't get notified when this version is released and deployed, we'll instead run the API generation on a daily cadence.

This isn't the perfect solution, but it's simple and gets us 80% of the way there. More intricate solutions can be set up later.

## How

-   By adding a scheduled workflow to the generate docs config.
-   By adding .gitignore entries for the generated files

There's also some minor changes in styling etc.

## Dependencies

This is dependent on the changes introduced in #2062 having propagated to the enterprise release, which will probably not be for another week or so.

## Discussion

What should the API reference docs url be? I've set it to be `/reference/api/unleash/*` for now, but I'm on the fence about whether it should be `apis` or `api` in there. I also want to get the proxy and other APIs in there as we grow.

-------

## Commits

* docs: style openapi operation buttons

* docs: minor operation badge adjustments

* docs: use permalink to css snippet i copied

* docs: ignore files related to openapi generation

* docs: re-enable openapi docs

* Docs(#1391): prep for integration

* docs(#1391): run docs generation daily

* docs(#1391): add generation step to doc prs too

* docs(#1391): use the US hosted instance to generate docs

* docs(#1391): move doc generation into build command

* docs(#1391): use `/reference/api/*` instead of `/reference/apis/*`
2022-09-19 14:50:24 +02:00
Gastón Fournier
ee6ec888a7
feat: Update to pull_request_target (#2059)
External builds are failing to upload coverage report
2022-09-13 09:57:14 +02:00
sjaanus
e6e6da6a44
Revert workflow (#2051) 2022-09-09 06:51:56 +00:00
Gastón Fournier
6e52718eab
Schedule link checker action (#2050)
Runs at 12:30 UTC on Mon, Tue, Wed, Thu and Fri
2022-09-07 16:38:39 +02:00
Gastón Fournier
6ef8c78e06
docs: test broken links in website (#1912)
The action triggers manually as a first step to test this functionality. In the near future, we might schedule it
2022-09-07 13:31:38 +00:00
sjaanus
e21cf00ca7
Merge e2e tests into matrix (#2007) 2022-08-30 13:23:09 +00:00
olav
5ba0f3b5f0
refactor: remove duplicate install/build step (#1994) 2022-08-29 15:26:17 +02:00
sjaanus
ac957a096c
Fix changelog (#1991) 2022-08-29 12:32:06 +00:00
sjaanus
d0631f0d74
Move e2e tests from frontend to backend .github (#1975)
* Add e2e tests

* Remove cypress key

* Add project tag

* Add cypress to root

* Add cypress working directory and package.json in subfolder

* Remove record flag

* Add contains to url check

* Test segment e2e test

* Remove one of contains

* Test e2e tests

* Fix e2e

* Test new yml

* New yaml

* Test different echo

* Update workflows

* Fix deployment url

* Fix formatting
2022-08-29 12:25:11 +00:00