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

238 Commits

Author SHA1 Message Date
Christopher Kolstad
09787e0e54
chore: update codeql tasks to v3 to remove deprecation warnings (#6129)
We're getting deprecation warnings, and I checked the migration, the
major change is node 16 -> node 20. since node 16 runners will be
deprecated by Github sometime this year.
2024-02-06 08:41:46 +00:00
Ivar Conradi Østhus
55474124a9
fix: we want to build docs on PRs related to docs 2024-01-31 10:12:36 +01:00
Ivar Conradi Østhus
ebd53a6ef9
fix: disable building docs (old) 2024-01-31 10:09:32 +01:00
renovate[bot]
77985ec0f3
chore(deps): update actions/cache action to v4 (#5941)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/cache](https://togithub.com/actions/cache) | action | major |
`v3` -> `v4` |

---

### Release Notes

<details>
<summary>actions/cache (actions/cache)</summary>

### [`v4`](https://togithub.com/actions/cache/compare/v3...v4)

[Compare Source](https://togithub.com/actions/cache/compare/v3...v4)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 09:28:53 +02:00
renovate[bot]
6a5ce1f2a0
chore(deps): update lycheeverse/lychee-action action to v1.9.1 (#5935)
[![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.9.0` -> `v1.9.1` |

---

### Release Notes

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

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

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

This is a hotfix release which restores the behavior of the `accept`
config parameter.
Integers are accepted again as status codes.

```toml
accept = [200, 201, 202, 203, 429]
```

is equivalent to

```toml
accept = ["200..=203", 429]
```

Integers and strings (e.g. for ranges) can be mixed.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 14:39:33 +00:00
renovate[bot]
aee470a7d6
chore(deps): update actions/setup-node action to v4 (#5891)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/setup-node](https://togithub.com/actions/setup-node) | action
| major | `v3` -> `v4` |

---

### Release Notes

<details>
<summary>actions/setup-node (actions/setup-node)</summary>

### [`v4`](https://togithub.com/actions/setup-node/compare/v3...v4)

[Compare
Source](https://togithub.com/actions/setup-node/compare/v3...v4)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 09:56:41 +02:00
renovate[bot]
f22efdfddb
chore(deps): update actions/upload-artifact action to v4 (#5892)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[actions/upload-artifact](https://togithub.com/actions/upload-artifact)
| action | major | `v3` -> `v4` |

---

### Release Notes

<details>
<summary>actions/upload-artifact (actions/upload-artifact)</summary>

### [`v4`](https://togithub.com/actions/upload-artifact/compare/v3...v4)

[Compare
Source](https://togithub.com/actions/upload-artifact/compare/v3...v4)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-16 12:05:34 +01:00
renovate[bot]
c6ff931516
chore(deps): update lycheeverse/lychee-action action to v1.9.0 (#5885)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
|
[lycheeverse/lychee-action](https://togithub.com/lycheeverse/lychee-action)
| action | minor | `v1.8.0` -> `v1.9.0` | `v1.9.1` |

---

### Release Notes

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

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

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

#### What's Changed

- Document the current directory for the cache argument example by
[@&#8203;theredfish](https://togithub.com/theredfish) in
[https://github.com/lycheeverse/lychee-action/pull/193](https://togithub.com/lycheeverse/lychee-action/pull/193)
- Add `*.rst` glob pattern to defaults by
[@&#8203;kdeldycke](https://togithub.com/kdeldycke) in
[https://github.com/lycheeverse/lychee-action/pull/197](https://togithub.com/lycheeverse/lychee-action/pull/197)
- Automatically pass Github token by
[@&#8203;mre](https://togithub.com/mre) in
[https://github.com/lycheeverse/lychee-action/pull/196](https://togithub.com/lycheeverse/lychee-action/pull/196)
- Always create output file; not only on error by
[@&#8203;mre](https://togithub.com/mre) in
[https://github.com/lycheeverse/lychee-action/pull/199](https://togithub.com/lycheeverse/lychee-action/pull/199)
- Bump actions/checkout from 3 to 4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/lycheeverse/lychee-action/pull/208](https://togithub.com/lycheeverse/lychee-action/pull/208)
- add documentation on using the param when testing local files (as in…
by [@&#8203;tgaff](https://togithub.com/tgaff) in
[https://github.com/lycheeverse/lychee-action/pull/211](https://togithub.com/lycheeverse/lychee-action/pull/211)
- fix: Lychee output to file (fixes
[#&#8203;214](https://togithub.com/lycheeverse/lychee-action/issues/214))
by [@&#8203;LilDrunkenSmurf](https://togithub.com/LilDrunkenSmurf) in
[https://github.com/lycheeverse/lychee-action/pull/215](https://togithub.com/lycheeverse/lychee-action/pull/215)
- Add integration test for custom output paths
([#&#8203;215](https://togithub.com/lycheeverse/lychee-action/issues/215))
by [@&#8203;mre](https://togithub.com/mre) in
[https://github.com/lycheeverse/lychee-action/pull/217](https://togithub.com/lycheeverse/lychee-action/pull/217)
- Add integration tests for absolute output path and `--dump` by
[@&#8203;mre](https://togithub.com/mre) in
[https://github.com/lycheeverse/lychee-action/pull/218](https://togithub.com/lycheeverse/lychee-action/pull/218)

#### New Contributors

- [@&#8203;theredfish](https://togithub.com/theredfish) made their first
contribution in
[https://github.com/lycheeverse/lychee-action/pull/193](https://togithub.com/lycheeverse/lychee-action/pull/193)
- [@&#8203;kdeldycke](https://togithub.com/kdeldycke) made their first
contribution in
[https://github.com/lycheeverse/lychee-action/pull/197](https://togithub.com/lycheeverse/lychee-action/pull/197)
- [@&#8203;tgaff](https://togithub.com/tgaff) made their first
contribution in
[https://github.com/lycheeverse/lychee-action/pull/211](https://togithub.com/lycheeverse/lychee-action/pull/211)
- [@&#8203;LilDrunkenSmurf](https://togithub.com/LilDrunkenSmurf) made
their first contribution in
[https://github.com/lycheeverse/lychee-action/pull/215](https://togithub.com/lycheeverse/lychee-action/pull/215)

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

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 22:43:22 +00:00
renovate[bot]
9cf3ae6aab
chore(deps): update akhileshns/heroku-deploy action to v3.13.15 (#5839)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[akhileshns/heroku-deploy](https://togithub.com/akhileshns/heroku-deploy)
| action | minor | `v3.12.14` -> `v3.13.15` |

---

### Release Notes

<details>
<summary>akhileshns/heroku-deploy (akhileshns/heroku-deploy)</summary>

###
[`v3.13.15`](https://togithub.com/AkhileshNS/heroku-deploy/releases/tag/v3.13.15)

[Compare
Source](https://togithub.com/akhileshns/heroku-deploy/compare/v3.13.14...v3.13.15)

Updated node version to "node20" (as "node18" is not supported by GitHub
Actions)

###
[`v3.13.14`](https://togithub.com/AkhileshNS/heroku-deploy/releases/tag/v3.13.14)

[Compare
Source](https://togithub.com/akhileshns/heroku-deploy/compare/v3.12.14...v3.13.14)

Updated node version from 16 to 18 (as 16 is causing problems due to
deprecation)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-10 19:51:41 +00:00
David Leek
17fe264632
chore: remove redundant linting check, lint before test (#5826)
## About the changes

- Removes redundant lint check
- Runs linting before test
2024-01-10 10:27:30 +01:00
renovate[bot]
dcb8b5b5a1
chore(deps): update actions/github-script action to v7 (#5539)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/github-script](https://togithub.com/actions/github-script) |
action | major | `v6` -> `v7` |

---

### Release Notes

<details>
<summary>actions/github-script (actions/github-script)</summary>

### [`v7`](https://togithub.com/actions/github-script/compare/v6...v7)

[Compare
Source](https://togithub.com/actions/github-script/compare/v6...v7)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-09 18:53:50 +01:00
Gastón Fournier
218d5625fb
chore: unify build and build PRs workflow (#5570)
## About the changes
Our build and build_prs workflows are almost the same with some minor
details:

1. **Build** also builds the frontend, but **PR Build** does not by
specifying `--ignore-scripts`
1. **Build PR** uploads test results: Upload test report to build. We'll
ignore this when building on main
1. **Build PR** just builds the backend (reason why the build is much
faster: 50s vs ~5m). We have a workflow for building frontend PRs, we'd
be removing the build frontend from the build on main, but we're already
exercising that to upload to dockerhub:

![image](https://github.com/Unleash/unleash/assets/455064/36f5a892-24dc-4de2-91bd-8e3419757b0d)
 
These are the main differences:

![image](https://github.com/Unleash/unleash/assets/455064/837b1ea4-305d-4472-b903-aeed7f3f3e7f)

This PR unifies the two workflows into one
2023-12-20 11:44:49 +01:00
Thomas Heartman
a9bf831759
Update publish-new-version.yaml (#5691)
Add more details about the how the version should be formatted. 

When trying to run this workflow, I'm always very unsure whether the
version should be prepended with a `v` or not. This should be clearly
stated in the description. If it doesn't matter, that should also be
stated explicitly.

Updated the texts after talking to @chriswk and making a release.
2023-12-20 08:15:22 +01:00
Gastón Fournier
2164ff6a87
chore: require both build and test before merge (#5545)
## About the changes
Some of our PRs such as #5538 merged without passing the tests. This is
because we were running tests in a different workflow that's not
mandatory to pass before we merge.

With this, we remove duplicated work (we were executing build:backend in
two different workflows) and we enforce our PRs to pass tests before
merging
2023-12-05 11:21:03 +01:00
Gastón Fournier
9f3648dc81
chore: test migration backward compatibility (#5492)
## About the changes
This PR will validate that our current migrations are backward
compatible with the latest stable release of Unleash.
It will do so by starting a database, applying the latest migrations,
and then starting a docker container with the last stable unleash
release and running UI tests against it.

There's a risk that the current version of UI tests will not work with
the previous version of our UI. Because of that we copied the previous
version of cypress tests
(https://github.com/Unleash/unleash/tree/5.6/frontend/cypress) into oss
folder and removed the ones that are enterprise only. We can discuss a
better way of doing this to avoid having to maintain this folder always
in sync with the previous version of Unleash

This action will only run when there are changes in migrations or to
cypress tests.
2023-11-30 18:20:13 +01:00
renovate[bot]
d6b56a24b9
chore(deps): update metcalfc/changelog-generator action to v4.2.0 (#5505)
[![Mend Renovate logo
banner](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 | minor | `v4.1.0` -> `v4.2.0` |

---

### Release Notes

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

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

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

-
[1de9b68](1de9b68cc5)
- Many small updates to dependencies.
-
[08047f0](08047f08c0)
- Migrating create release action.
-
[59d0205](59d0205b73)
- Merge pull request
[#&#8203;220](https://togithub.com/metcalfc/changelog-generator/issues/220)
from metcalfc/dependabot/npm_and_yarn/actions/github-6.0.0
-
[99034cd](99034cda79)
- Merge pull request
[#&#8203;223](https://togithub.com/metcalfc/changelog-generator/issues/223)
from metcalfc/dependabot/npm_and_yarn/eslint-8.53.0
-
[dc7612b](dc7612b8cf)
- Bump eslint from 8.50.0 to 8.53.0
-
[e79ecba](e79ecba5a6)
- Merge pull request
[#&#8203;224](https://togithub.com/metcalfc/changelog-generator/issues/224)
from metcalfc/dependabot/npm_and_yarn/prettier-3.1.0
-
[7c85144](7c85144db9)
- Bump prettier from 3.0.3 to 3.1.0
-
[d96af51](d96af51e25)
- Bump [@&#8203;actions/github](https://togithub.com/actions/github)
from 5.1.1 to 6.0.0
-
[2c24ec2](2c24ec281a)
- Merge pull request
[#&#8203;221](https://togithub.com/metcalfc/changelog-generator/issues/221)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.38.1
-
[315f67f](315f67f843)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.38.0
to 0.38.1
-
[f1400ae](f1400aefb4)
- Merge pull request
[#&#8203;217](https://togithub.com/metcalfc/changelog-generator/issues/217)
from metcalfc/dependabot/npm_and_yarn/actions/core-1.10.1
-
[965b057](965b057220)
- Merge pull request
[#&#8203;218](https://togithub.com/metcalfc/changelog-generator/issues/218)
from metcalfc/dependabot/npm_and_yarn/eslint-8.50.0
-
[51f72ca](51f72ca8b3)
- Bump eslint from 8.48.0 to 8.50.0
-
[cba9af5](cba9af52b4)
- Bump [@&#8203;actions/core](https://togithub.com/actions/core) from
1.10.0 to 1.10.1
-
[907c16b](907c16bb14)
- Merge pull request
[#&#8203;215](https://togithub.com/metcalfc/changelog-generator/issues/215)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.38.0
-
[2aa5a82](2aa5a82301)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.36.1
to 0.38.0
-
[367b65d](367b65d916)
- Merge pull request
[#&#8203;214](https://togithub.com/metcalfc/changelog-generator/issues/214)
from metcalfc/dependabot/github_actions/actions/checkout-4
-
[01a8fe5](01a8fe58c7)
- Bump actions/checkout from 3 to 4
-
[3dd9220](3dd9220597)
- Merge pull request
[#&#8203;212](https://togithub.com/metcalfc/changelog-generator/issues/212)
from metcalfc/dependabot/npm_and_yarn/eslint-8.48.0
-
[e63a7ac](e63a7ac740)
- Bump eslint from 8.42.0 to 8.48.0
-
[2a808b0](2a808b0ea9)
- Merge pull request
[#&#8203;213](https://togithub.com/metcalfc/changelog-generator/issues/213)
from metcalfc/dependabot/npm_and_yarn/prettier-3.0.3
-
[785ba19](785ba196e2)
- Bump prettier from 2.8.8 to 3.0.3
-
[476bf47](476bf471e2)
- Merge pull request
[#&#8203;208](https://togithub.com/metcalfc/changelog-generator/issues/208)
from metcalfc/dependabot/npm_and_yarn/isexe-3.1.1
-
[238e1fe](238e1fe243)
- Bump isexe from 2.0.0 to 3.1.1
-
[4ba8190](4ba8190927)
- Merge pull request
[#&#8203;205](https://togithub.com/metcalfc/changelog-generator/issues/205)
from metcalfc/dependabot/npm_and_yarn/word-wrap-1.2.4
-
[560623c](560623c867)
- Bump word-wrap from 1.2.3 to 1.2.4
-
[723453a](723453a1b9)
- Cleaning up.
-
[d3de36e](d3de36eca3)
- Merge pull request
[#&#8203;200](https://togithub.com/metcalfc/changelog-generator/issues/200)
from metcalfc/dependabot/npm_and_yarn/eslint-8.42.0
-
[afef6ae](afef6ae020)
- Bump eslint from 8.40.0 to 8.42.0
-
[aa6844c](aa6844cb20)
- Merge pull request
[#&#8203;198](https://togithub.com/metcalfc/changelog-generator/issues/198)
from metcalfc/dependabot/npm_and_yarn/eslint-8.40.0
-
[ef41d8f](ef41d8fe80)
- Merge pull request
[#&#8203;196](https://togithub.com/metcalfc/changelog-generator/issues/196)
from metcalfc/dependabot/npm_and_yarn/prettier-2.8.8
-
[aaeafc9](aaeafc9df5)
- Bump eslint from 8.38.0 to 8.40.0
-
[693e70b](693e70b27b)
- Bump prettier from 2.8.7 to 2.8.8
-
[1addadf](1addadf28f)
- Merge pull request
[#&#8203;195](https://togithub.com/metcalfc/changelog-generator/issues/195)
from metcalfc/dependabot/npm_and_yarn/eslint-8.38.0
-
[3bd86ca](3bd86ca10b)
- Bump eslint from 8.37.0 to 8.38.0
-
[201b155](201b155325)
- Update README.md
-
[e2d3b6f](e2d3b6f0f8)
- Merge pull request
[#&#8203;194](https://togithub.com/metcalfc/changelog-generator/issues/194)
from metcalfc/dependabot/npm_and_yarn/eslint-8.37.0
-
[89fa40d](89fa40de50)
- Bump eslint from 8.36.0 to 8.37.0
-
[b0109a8](b0109a8089)
- Merge pull request
[#&#8203;193](https://togithub.com/metcalfc/changelog-generator/issues/193)
from metcalfc/dependabot/npm_and_yarn/prettier-2.8.7
-
[c0c9e16](c0c9e16243)
- Bump prettier from 2.8.6 to 2.8.7
-
[3ca2591](3ca2591b55)
- Merge pull request
[#&#8203;192](https://togithub.com/metcalfc/changelog-generator/issues/192)
from metcalfc/dependabot/github_actions/actions/stale-8
-
[de98aa9](de98aa975a)
- Bump actions/stale from 7 to 8
-
[606f1c0](606f1c0cf4)
- Update issue templates
-
[edc622f](edc622f7e9)
- Create CONTRIBUTING.md
-
[38d635e](38d635ecb8)
- Merge pull request
[#&#8203;191](https://togithub.com/metcalfc/changelog-generator/issues/191)
from metcalfc/dependabot/npm_and_yarn/prettier-2.8.6
-
[89cd0f6](89cd0f696c)
- Bump prettier from 2.8.4 to 2.8.6
-
[6300779](6300779ee9)
- Merge pull request
[#&#8203;189](https://togithub.com/metcalfc/changelog-generator/issues/189)
from metcalfc/update_release
-
[9c0a661](9c0a661be8)
- Updating the create-release action.

</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://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-29 19:37:48 +00:00
Nuno Góis
a137275e16
chore: unpin node version in build (#5379)
https://linear.app/unleash/issue/2-1434/unpin-node-18-when-a-fix-is-out

Unpins the node version in our build step.
Continues the work of https://github.com/Unleash/unleash/pull/5146
2023-11-21 12:58:34 +00:00
Nicolae Socaciu
a68cae4b86
Updated banner and text (#5168)
We updated the banner to match the current number of official SDKs and
community SDKs
2023-10-27 08:37:40 +00:00
Christopher Kolstad
d013867f0f
Chore/bump dependencies (#5146)
We're getting security advisories against the node version we're using.
This PR bumps everything to 18.18.2/18.x again. And we'll trust our
excellent monitoring on detecting performance regressions again
2023-10-26 09:09:03 +02:00
Mateusz Kwasniewski
da2c46d8c3
chore: disable fsync in gh action postgres to speed up the tests (#5139) 2023-10-24 12:33:17 +02:00
Gastón Fournier
b802ced0f5
chore: avoid building frontend if not needed (#4982)
## About the changes
Looks like we're building twice:
https://github.com/Unleash/unleash/actions/runs/6468079228/job/17559391393#step:5:136
2023-10-10 15:35:11 +02:00
Gastón Fournier
7f61438095
chore: Rename validate step (#4969)
This is to bypass branch protection rules
2023-10-09 13:55:38 +02:00
Gastón Fournier
4fc7df84b9
fix: ignore errors on changelog generation and include token (#4926)
This backports changes made in 5.5
2023-10-06 16:39:34 +02:00
renovate[bot]
99e7aec18a
chore(deps): update actions/checkout action to v4 (#4741)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 10:19:57 +02:00
Gastón Fournier
8adc711949
chore: automate changelog generation on release branch (#4914)
## About the changes
This generates the changelog in the branch taking into account latest
release (it's conditional to wether the release ends with .0 or not)
2023-10-04 11:52:46 +02:00
Gastón Fournier
f9c3259083
fix: partial index on events announced (#4856)
## About the changes
Add partial index on events by announced. This should help avoid `Seq
Scan on events` when the majority of events are announced=true

---
Co-authored-by: Ivar Østhus <ivar@getunleash.io>
Co-authored-by: Gard Rimestad <gard@getunleash.io>
2023-09-28 10:21:16 +02:00
Christopher Kolstad
19053cd75c
fix: version checker update needs permissions to write id-token 2023-09-28 09:38:20 +02:00
Gard Rimestad
7cb471a0a4
chore: pin node version 18.17.1 (#4834)
We are pinning node to version 18.17.1 as we have seen some performance
degregation on node 18.18.0 on arm64. We will investigate this further
at a later point. This is to mitigate the issue.

Our next step in pinpointing the issue will be to compare between
running on musl vs libc on arm64.
2023-09-26 10:41:13 +02:00
Christopher Kolstad
fd9aeec0fb
task: Added workflow for calling update-version-action (#4805)
## What
This adds a workflow which automatically triggers on published releases
to update the version number for our version checker. In addition it
adds a workflow dispatch, in case the version number ended up wrong
after an automatic run (for instance when patching an earlier released
minor).

## Observations
Currently the version checker which receives the update only validates
that the new version is also valid semver, it does not however
check/verify that we're not suddenly telling it an older version is the
newest (improvement available in the version updater repo).
2023-09-25 14:36:19 +02:00
Gastón Fournier
eb259a3783
chore: Doc only should skip build (#4820)
## About the changes
This fakes the build on docs-only PRs to be able to have a green build.
Touching a doc to validate it works
2023-09-25 09:12:03 +02:00
Thomas Heartman
5799d0c90f
docs: add info on how to troubleshoot and better errors (#4803)
This PR adds some troubleshooting information to the website readme and
also makes it so that we get more readable errors in the build logs when
something goes wrong.
2023-09-21 11:46:39 +02:00
Gastón Fournier
043a3a10ec
chore: reduce build time (#4405)
## About the changes
~~Test if max-workers can speed up test runs~~ No, this didn't help.
Disabling the job that takes longer should help mitigate. We lose the
coverage report but we still test our code:
https://github.com/Unleash/unleash/actions/runs/5751945832/job/15591813034?pr=4405#step:7:2396

This cuts the build time by 50% and moving this to a daily schedule
2023-08-04 11:51:18 +02:00
renovate[bot]
240cc2b5fa
chore(deps): update docker/build-push-action action to v4 (#4365) 2023-08-03 13:13:14 +02:00
Gastón Fournier
05c6f42f7b
fix: avoid expression injection (#4157)
## About the changes
Using toJSON should escape any potentially harmful content from the
username and email input
2023-07-06 07:52:50 +00:00
Christopher Kolstad
9f5b7b610a
chore: add paths-ignore to more workflows (#4041)
### What
To reduce the work needed, this PR adds paths-ignore to avoid building
unnecessary workflows.

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-07-05 14:29:37 +02:00
Gastón Fournier
1f7a948f6d
chore: avoids code injection through git commit (#4147)
## About the changes
Avoids code injection via the committer name or email

Also removes pushing to s3 on `main` folder as it's not used and we're
already pushing to `commits` folder
2023-07-05 13:35:12 +02:00
Gastón Fournier
661cbf2b91
fix: some security vulnerabilities (#4143)
## About the changes
This should address:
https://github.com/Unleash/unleash/security/code-scanning/1,
https://github.com/Unleash/unleash/security/code-scanning/49 and
https://github.com/Unleash/unleash/security/code-scanning/52

Refs:
-
https://securitylab.github.com/research/github-actions-untrusted-input/
-
https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS
- https://datatracker.ietf.org/doc/html/rfc5321#section-4.5.3.1.1

---------

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2023-07-05 11:51:27 +02:00
Gastón Fournier
28cafd6e06
fix: change to the proper author (#4141)
## About the changes
Based on the information displayed here
https://github.com/Unleash/unleash/actions/runs/5456442710/jobs/9929252672#step:3:11
this is how we should get the email and name of the committer
2023-07-04 19:44:10 +02:00
Gastón Fournier
148842e867
chore: Add debug information (#4140)
## About the changes
Debug information to get the best way of fetching the commit author and
use that to trigger a workflow
2023-07-04 17:34:35 +02:00
Gastón Fournier
bc68b5d265
chore: remove sync to enterprise from release branches (#4112)
## About the changes
When we do releases on the release branch we should not sync that back
to master on unleash-enterprise repo. At most we can trigger a different
process to automate the release of unleash-enterprise, but that'd be a
different story.
2023-06-28 14:13:18 +02:00
Gastón Fournier
4599e5cc06
chore: Optimize docker build oss (#3951)
## About the changes
Reduce the build time of OSS docker image from
[~30m](https://github.com/Unleash/unleash/actions/workflows/docker_publish.yaml)
to [under
15m](https://github.com/Unleash/unleash/actions/runs/5222180536/jobs/9427342758)

1. Build frontend outside docker multiplatform.
2. Allow `frontend/build` to be copied to the image by removing this
from `.dockerignore`
3. Run with `--ignore-scripts` to avoid building the frontend on the
`prepare` script, but this requires us to run all the prepare scripts
manually (except the frontend build).
 
**Note:** we need to build frontend in the `prepare` script to be able
to have source code dependencies

## Manual Testing
Manually downloaded from
https://hub.docker.com/r/unleashorg/unleash-server/tags?page=1 and
compared both `unleash` folders from main and the version built with the
new process
https://github.com/Unleash/unleash/actions/runs/5223078089/jobs/9429430190#step:5:48

![Screenshot from 2023-06-10
21-11-33](https://github.com/Unleash/unleash/assets/455064/60a41739-904d-480d-8d80-bf17b7a70432)

No major difference was spotted (only expected changes due to
development done in main)

**Command used to extract the contents:** 

```
cd /tmp
mkdir main && cd main
docker pull unleashorg/unleash-server:main-edge-18-alpine
docker export $(docker create unleashorg/unleash-server:main-edge-18-alpine) > container.tar && tar xvf container.tar
mkdir ../new-process && cd ../new-process
docker pull unleashorg/unleash-server:sha-ccac902-18-alpine
docker export $(docker create unleashorg/unleash-server:sha-ccac902-18-alpine) > container.tar && tar xvf container.tar
meld ./unleash ../main/unleash
```
2023-06-12 09:15:09 +02:00
Gastón Fournier
51fc8f0550
chore: avoid building frontend twice (#3918)
## About the changes
Running `yarn install` without the `dist` folder will trigger a `yarn
build` automatically as part of the `prepare script`

As we can see here:
https://github.com/Unleash/unleash/actions/runs/5200272004/jobs/9378770279
```
[build:frontend] ✓ built in 41.10s
// more output
[build:frontend] ✓ built in 39.81s
```
2023-06-08 10:48:28 +02:00
renovate[bot]
6ab62d5bfa
chore(deps): update aws-actions/configure-aws-credentials action to v2 (#3893)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[aws-actions/configure-aws-credentials](https://togithub.com/aws-actions/configure-aws-credentials)
| action | major | `v1` -> `v2` |

---

### Release Notes

<details>
<summary>aws-actions/configure-aws-credentials</summary>

###
[`v2`](https://togithub.com/aws-actions/configure-aws-credentials/releases/tag/v2)

[Compare
Source](https://togithub.com/aws-actions/configure-aws-credentials/compare/v1...v2)

This tag tracks the latest v2.x.x release.

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDIuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNS4xMDIuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-06 15:03:11 +02:00
Gastón Fournier
6af72325c1
chore: simplify workflows (#3902)
## About the changes
This PR removes one workflow file and merges it into a similar workflow
file, these are the differences:

![image](https://github.com/Unleash/unleash/assets/455064/8afa791e-5f78-45cb-baca-1c28d4559d51)


This should help improving maintainability of the workflows
2023-06-05 14:34:22 +02:00
Gastón Fournier
a7bd91d621
fix: Remove repository which is no longer needed (#3900)
## About the changes
Sync fails
https://github.com/Unleash/unleash/actions/runs/5174602051/jobs/9321118800#step:3:23
due to https://github.com/ivarconr/unleash-enterprise/pull/562 because
we now assume the repository is Unleash/unleash

This removes the repository from the payload
2023-06-05 08:03:16 +00:00
Gastón Fournier
64f212fdda
fix: author and email should be for PRs (#3899)
## About the changes
Previous PR https://github.com/Unleash/unleash/pull/3871 we were
supposed to change this for PRs but the change was made on
`release.yaml` file. This fixes the issue
2023-06-05 09:47:20 +02:00
renovate[bot]
18edaf1d96
chore(deps): update actions/checkout action to v3 (#3891)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://togithub.com/actions/checkout) | action |
major | `v2` -> `v3` |

---

### Release Notes

<details>
<summary>actions/checkout</summary>

###
[`v3`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v352)

[Compare Source](https://togithub.com/actions/checkout/compare/v2...v3)

- [Fix api endpoint for
GHES](https://togithub.com/actions/checkout/pull/1289)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDIuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNS4xMDIuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-29 17:47:30 +02:00
Gastón Fournier
c7d8c9fd25
chore: name and email convention (#3871)
## About the changes
Minor improvement to communicate the author of a commit as `Name
<Email>`

Another option is to send email and name in different fields but we're
only using it here
https://github.com/ivarconr/unleash-enterprise/blob/master/.github/update_dependency_version.sh#L39
so this should be fine
2023-05-26 14:04:41 +00:00
Christopher Kolstad
3409b0c5a0
task: Add Unit test result check task (#3695)
After a Team Retro, one of our squads felt like we needed more data on
our test suites. This is the first effort to make our test results
easier to grab. It uses the test-reporter action to add a github check
to our main build and PR builds with our test results.

This at least should make it easier to parse which tests are failing.
However, it does not give us trends. So it does not yet make it easier
to decide which tests are flaky just from a quick view.

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-05-25 11:03:54 +00:00
Gastón Fournier
540c5f2cc5
fix: workflow was moved (#3852)
## About the changes
This script was moved, updating the ref
2023-05-24 10:20:31 +02:00