Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update definitely typed #3

Merged
merged 5 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 0 additions & 46 deletions .github/workflows/auto-approve.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/auto-author-assign.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ on:
branches: [main]

jobs:
build:
name: Build
ci:
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/[email protected]
Expand Down
89 changes: 89 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
name: 🤖 PR suites
on:
pull_request:
pull_request_review:
types: [submitted]

env:
JOBS_NAME: '[ "ci" ]'

jobs:
setup:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.matrix.outputs.value }}
steps:
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- id: matrix
if: env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR == 'true'
run: echo "value=$JOBS_NAME" >> $GITHUB_OUTPUT

wait:
needs: [setup]
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
value: ${{ fromJSON(needs.setup.outputs.matrix) }}
steps:
- uses: taiga-family/ci/actions/run/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
job: ${{ matrix.value }}

approve:
needs: [wait]
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/auto/approve/[email protected]
continue-on-error: true
with:
token1: ${{ secrets.GITHUB_TOKEN }}
token2: ${{ secrets.TAIGA_FAMILY_APPROVE_BOT_PAT }}
- uses: taiga-family/ci/actions/run/[email protected]
continue-on-error: true
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

label-when-approved:
if: github.event.review.state == 'approved'
name: Label when approved
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/auto/[email protected]
continue-on-error: true
with:
approvals: 2
token: ${{ secrets.GITHUB_TOKEN }}

assign-author:
name: PR author as an assignee
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: toshimaru/[email protected]
continue-on-error: true
with:
repo-token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

label-version:
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/run/[email protected]
id: nodejs-workspace
- uses: actions-ecosystem/action-add-labels@v1
continue-on-error: true
with:
labels: v${{ steps.nodejs-workspace.outputs.root-package-major-version }}

concurrency:
group: auto-approve-${{ github.head_ref }}
cancel-in-progress: true
39 changes: 8 additions & 31 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"@taiga-ui/stylelint-config": "0.200.0",
"@taiga-ui/styles": "4.7.0",
"@taiga-ui/tsconfig": "0.200.0",
"@types/express": "4.17.17",
"@types/node": "22.5.0",
"@types/express": "4.17.21",
"@types/node": "22.6.0",
"express": "4.18.2",
"libphonenumber-js": "1.11.8",
"nx": "19.7.4",
Expand Down
Loading