Skip to content
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
4 changes: 2 additions & 2 deletions .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ runs:
using: composite
steps:
- name: Install pnpm
uses: pnpm/action-setup@v4
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.3.0
with:
run_install: false
- name: Install Node.js
uses: actions/setup-node@v6
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
with:
node-version-file: .nvmrc
cache: 'pnpm'
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@ on:
- main
pull_request:

permissions:
contents: read # clone the repository (actions/checkout)

jobs:
api:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Comment thread
coderabbitai[bot] marked this conversation as resolved.
with:
persist-credentials: false
- uses: ./.github/actions/setup-node
- name: Build packages
run: pnpm run build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ name: Commitlint
on: [pull_request]

permissions:
contents: read
contents: read # clone the repository (actions/checkout)

jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: ./.github/actions/setup-node
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/deploy-pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ on:
workflow_dispatch:

permissions:
checks: write
contents: read
pull-requests: write
checks: write # create the "Deploy Preview" check run (action-hosting-deploy)
contents: read # clone the repository (actions/checkout)
pull-requests: write # comment on the PR with the preview URL (action-hosting-deploy)

jobs:
deploy-pr-preview:
Expand All @@ -18,18 +18,19 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v7
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Comment thread
coderabbitai[bot] marked this conversation as resolved.
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
persist-credentials: false

- uses: ./.github/actions/setup-node

- name: Build Storybook
run: pnpm run build-storybook

- name: Deploy Preview
uses: FirebaseExtended/action-hosting-deploy@v0
uses: FirebaseExtended/action-hosting-deploy@500ac625ca2dd40cbd15f7659af953801858032a # v0.11.0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_KOOBIQ }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/docs-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,18 @@ on:
- '[0-9]+.[0-9]+.[0-9]+*'
workflow_dispatch:

permissions:
contents: read # clone the repository (actions/checkout)

jobs:
deploy-stable-docs:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v7
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- uses: ./.github/actions/setup-node

Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@ on:
- main
pull_request:

permissions:
contents: read # clone the repository (actions/checkout)

jobs:
linters:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Comment thread
coderabbitai[bot] marked this conversation as resolved.
with:
persist-credentials: false
- uses: ./.github/actions/setup-node
- name: Type check
run: pnpm run type-check
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/pr-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
types:
- opened

permissions: {} # none needed: the job only posts to a Mattermost webhook

jobs:
notify:
runs-on: ubuntu-latest
Expand All @@ -14,7 +16,7 @@ jobs:
steps:
- name: Notification to main channel
if: ${{ github.actor != 'dependabot[bot]' }}
uses: mattermost/action-mattermost-notify@v2.1.0
uses: mattermost/action-mattermost-notify@ae31bb6f9e26a54336e79696f108a2c91cf55b4e # v2.1.0
env:
NODE_TLS_REJECT_UNAUTHORIZED: '0'
Comment thread
artembelik marked this conversation as resolved.
with:
Comment thread
artembelik marked this conversation as resolved.
Expand All @@ -24,7 +26,7 @@ jobs:
TEXT: ${{ env.TEXT }}

- name: Notification to dev channel
uses: mattermost/action-mattermost-notify@v2.1.0
uses: mattermost/action-mattermost-notify@ae31bb6f9e26a54336e79696f108a2c91cf55b4e # v2.1.0
env:
NODE_TLS_REJECT_UNAUTHORIZED: '0'
with:
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ on:
workflow_dispatch:

permissions:
id-token: write
contents: write
packages: write
contents: write # clone the repository and create the GitHub release (upload-release-action)

jobs:
release:
Expand All @@ -19,9 +17,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v7
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Comment thread
coderabbitai[bot] marked this conversation as resolved.
with:
fetch-depth: 0
persist-credentials: false

- uses: ./.github/actions/setup-node

Expand All @@ -36,13 +35,13 @@ jobs:

- name: Parse Changelog
id: changelog
uses: ocavue/changelog-parser-action@v1
uses: ocavue/changelog-parser-action@0260f7a77c97ed295575683c8036b81724fd34f5 # v1.2.0
with:
removeMarkdown: false
filePath: './CHANGELOG.md'

- name: Upload Binaries to Release
uses: svenstaro/upload-release-action@v2
uses: svenstaro/upload-release-action@29e53e917877a24fad85510ded594ab3c9ca12de # 2.11.5
Comment thread
artembelik marked this conversation as resolved.
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.changelog.outputs.latestVersion }}
Expand All @@ -51,7 +50,7 @@ jobs:
${{ steps.changelog.outputs.latestBody }}

- name: Notify Mattermost
uses: mattermost/action-mattermost-notify@v2.1.0
uses: mattermost/action-mattermost-notify@ae31bb6f9e26a54336e79696f108a2c91cf55b4e # v2.1.0
env:
NODE_TLS_REJECT_UNAUTHORIZED: '0'
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/units.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ on:
- main
pull_request:

permissions:
contents: read # clone the repository (actions/checkout)

jobs:
unit_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: ./.github/actions/setup-node
- run: pnpm run test --run
Loading