-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): Test v7.38.10 (#9992)
Signed-off-by: Matt Krick <matt.krick@gmail.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Bruce Tian <tianrunhe@gmail.com> Co-authored-by: Matt Krick <matt.krick@gmail.com> Co-authored-by: snyk-bot <snyk-bot@snyk.io> Co-authored-by: Jordan Husney <jordan.husney@gmail.com> Co-authored-by: Marcus Wermuth <hello@marcuswermuth.com> Co-authored-by: parabol-release-bot[bot] <150284312+parabol-release-bot[bot]@users.noreply.github.com> Co-authored-by: Nick O'Ferrall <nickoferrall@gmail.com> Co-authored-by: Georg Bremer <github@dschoordsch.de> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rafa <101704572+rafaelromcar-parabol@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: Dale Bumblis <135627447+dbumblis-parabol@users.noreply.github.com> Co-authored-by: Mohd Muneeb <mr.mohdmuneeb123@gmail.com> Co-authored-by: Muneeb-Ventures <mohd.muneeb@m0.ventures> Co-authored-by: Bartosz Jarocki <jarocki.bartek@gmail.com> Co-authored-by: Terry Acker <ackernaut@gmail.com> Co-authored-by: Rafael Romero <rafael@parabol.co> Co-authored-by: github-actions <github-actions@github.com>
- Loading branch information
1 parent
55049b2
commit 6b0782d
Showing
13 changed files
with
120 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Style Check | ||
on: | ||
push: | ||
branches-ignore: | ||
- "release-please--**" | ||
- "release/v**" | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
style-check: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: "read" | ||
id-token: "write" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: package.json | ||
# Caching yarn dir & running yarn install is too slow | ||
# Instead, we aggressively cache node_modules below to avoid calling install | ||
|
||
- name: Setup environment variables | ||
run: | | ||
NODE_VERSION=$(jq -r -j '.engines.node|ltrimstr("^")' package.json) | ||
echo NODE_VERSION=$NODE_VERSION >> $GITHUB_ENV | ||
echo NODE_VERSION=$NODE_VERSION | ||
- name: Get cached node modules | ||
id: cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
**/node_modules | ||
key: node_modules-${{ runner.arch }}-${{ env.NODE_VERSION }}-${{ hashFiles('yarn.lock') }} | ||
|
||
- name: Install node_modules | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: yarn install --immutable | ||
|
||
- name: Check Code Quality | ||
run: yarn codecheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
".": "7.38.9" | ||
".": "7.38.10" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
packages/server/postgres/migrations/1720689742934_fixThreatLevelPromptColors.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import {r} from 'rethinkdb-ts' | ||
import connectRethinkDB from '../../database/connectRethinkDB' | ||
|
||
export async function up() { | ||
await connectRethinkDB() | ||
|
||
await r | ||
.table('ReflectPrompt') | ||
.get('threatLevelPremortemTemplateSeverePrompt') | ||
.update({groupColor: '#FD6157'}) | ||
.run() | ||
await r | ||
.table('ReflectPrompt') | ||
.get('threatLevelPremortemTemplateElevatedPrompt') | ||
.update({groupColor: '#FFCC63'}) | ||
.run() | ||
await r | ||
.table('ReflectPrompt') | ||
.get('threatLevelPremortemTemplateLowPrompt') | ||
.update({groupColor: '#66BC8C'}) | ||
.run() | ||
} | ||
|
||
export async function down() { | ||
await connectRethinkDB() | ||
|
||
await r | ||
.table('ReflectPrompt') | ||
.get('threatLevelPremortemTemplateSeverePrompt') | ||
.update({groupColor: '#66BC8C'}) | ||
.run() | ||
await r | ||
.table('ReflectPrompt') | ||
.get('threatLevelPremortemTemplateElevatedPrompt') | ||
.update({groupColor: '#FD6157'}) | ||
.run() | ||
await r | ||
.table('ReflectPrompt') | ||
.get('threatLevelPremortemTemplateLowPrompt') | ||
.update({groupColor: '#FFCC63'}) | ||
.run() | ||
} |