mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 07:16:17 +08:00
Merge branch 'master' into feature/eslint-rule-no-shadow
This commit is contained in:
commit
2def288001
14
.github/workflows/monkey-ci.yml
vendored
14
.github/workflows/monkey-ci.yml
vendored
|
@ -23,7 +23,7 @@ concurrency:
|
|||
|
||||
jobs:
|
||||
pre-ci:
|
||||
if: github.event.pull_request.draft == false
|
||||
if: github.event.pull_request.draft == false || contains(github.event.pull_request.labels.*.name, 'force-ci') || contains(github.event.pull_request.labels.*.name, 'force-full-ci')
|
||||
name: pre-ci
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
|
@ -72,7 +72,7 @@ jobs:
|
|||
name: prime-cache
|
||||
runs-on: ubuntu-latest
|
||||
needs: [pre-ci]
|
||||
if: needs.pre-ci.outputs.should-build-be == 'true' || needs.pre-ci.outputs.should-build-fe == 'true' || needs.pre-ci.outputs.should-build-pkg == 'true' || needs.pre-ci.outputs.assets-json == 'true'
|
||||
if: needs.pre-ci.outputs.should-build-be == 'true' || needs.pre-ci.outputs.should-build-fe == 'true' || needs.pre-ci.outputs.should-build-pkg == 'true' || needs.pre-ci.outputs.assets-json == 'true' || contains(github.event.pull_request.labels.*.name, 'force-full-ci')
|
||||
steps:
|
||||
|
||||
- name: Checkout pnpm-lock
|
||||
|
@ -119,7 +119,7 @@ jobs:
|
|||
name: check-pretty
|
||||
needs: [pre-ci, prime-cache]
|
||||
runs-on: ubuntu-latest
|
||||
if: needs.pre-ci.outputs.should-build-be == 'true' || needs.pre-ci.outputs.should-build-fe == 'true' || needs.pre-ci.outputs.should-build-pkg == 'true' || needs.pre-ci.outputs.assets-json == 'true'
|
||||
if: needs.pre-ci.outputs.should-build-be == 'true' || needs.pre-ci.outputs.should-build-fe == 'true' || needs.pre-ci.outputs.should-build-pkg == 'true' || needs.pre-ci.outputs.assets-json == 'true' || contains(github.event.pull_request.labels.*.name, 'force-full-ci')
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
@ -169,7 +169,7 @@ jobs:
|
|||
name: ci-be
|
||||
needs: [pre-ci, prime-cache, check-pretty]
|
||||
runs-on: ubuntu-latest
|
||||
if: needs.pre-ci.outputs.should-build-be == 'true' || needs.pre-ci.outputs.should-build-pkg == 'true'
|
||||
if: needs.pre-ci.outputs.should-build-be == 'true' || needs.pre-ci.outputs.should-build-pkg == 'true' || contains(github.event.pull_request.labels.*.name, 'force-full-ci')
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
@ -217,7 +217,7 @@ jobs:
|
|||
name: ci-fe
|
||||
needs: [pre-ci, prime-cache, check-pretty]
|
||||
runs-on: ubuntu-latest
|
||||
if: needs.pre-ci.outputs.should-build-fe == 'true' || needs.pre-ci.outputs.should-build-pkg == 'true'
|
||||
if: needs.pre-ci.outputs.should-build-fe == 'true' || needs.pre-ci.outputs.should-build-pkg == 'true' || contains(github.event.pull_request.labels.*.name, 'force-full-ci')
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
@ -270,7 +270,7 @@ jobs:
|
|||
name: ci-assets
|
||||
needs: [pre-ci, prime-cache, check-pretty]
|
||||
runs-on: ubuntu-latest
|
||||
if: needs.pre-ci.outputs.assets-json == 'true'
|
||||
if: needs.pre-ci.outputs.assets-json == 'true' || contains(github.event.pull_request.labels.*.name, 'force-full-ci')
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
@ -339,7 +339,7 @@ jobs:
|
|||
name: ci-pkg
|
||||
needs: [pre-ci, prime-cache,check-pretty]
|
||||
runs-on: ubuntu-latest
|
||||
if: needs.pre-ci.outputs.should-build-pkg == 'true'
|
||||
if: needs.pre-ci.outputs.should-build-pkg == 'true' || contains(github.event.pull_request.labels.*.name, 'force-full-ci')
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
|
4
.github/workflows/semantic-pr-title.yml
vendored
4
.github/workflows/semantic-pr-title.yml
vendored
|
@ -15,11 +15,11 @@ jobs:
|
|||
main:
|
||||
name: check
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
|
||||
steps:
|
||||
- name: Lint and verify PR title
|
||||
uses: amannn/action-semantic-pull-request@v5
|
||||
id: lint_pr_title
|
||||
if: github.actor != 'dependabot[bot]'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
|
@ -50,7 +50,7 @@ jobs:
|
|||
- uses: marocchino/sticky-pull-request-comment@v2
|
||||
# When the previous steps fails, the workflow would stop. By adding this
|
||||
# condition you can continue the execution with the populated error message.
|
||||
if: always() && (github.actor != 'dependabot[bot]') && (steps.lint_pr_title.outputs.error_message != null)
|
||||
if: always() && (steps.lint_pr_title.outputs.error_message != null)
|
||||
with:
|
||||
header: pr-title-lint-error
|
||||
message: |
|
||||
|
|
|
@ -87,7 +87,7 @@ function save(): void {
|
|||
|
||||
export async function load(): Promise<void> {
|
||||
try {
|
||||
const filters = resultFiltersLS.get();
|
||||
filters = resultFiltersLS.get();
|
||||
|
||||
const newTags: Record<string, boolean> = { none: false };
|
||||
Object.keys(defaultResultFilters.tags).forEach((tag) => {
|
||||
|
|
Loading…
Reference in a new issue