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
7 changes: 5 additions & 2 deletions .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
pull_request:
types: [opened, synchronize, reopened]

permissions:
contents: read

jobs:
cloudquery-sync:
permissions:
Expand All @@ -15,8 +18,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
dbversion: ['postgres:latest']
cloudquery-version: ['6.8.0', 'v6.8.0']
dbversion: ["postgres:latest"]
cloudquery-version: ["6.8.0", "v6.8.0"]
os: [ubuntu-latest]
fail-fast: false
services:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/example_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- main
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
jobs:
cloudquery:
permissions:
Expand Down Expand Up @@ -39,7 +41,7 @@ jobs:
- name: Setup CloudQuery
uses: ./.
with:
version: 'v6.8.0'
version: "v6.8.0"
- name: Sync with CloudQuery
run: cloudquery sync example_configs/spec.yml --log-console --shard ${{ matrix.shard }}
env:
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
push:
branches:
- release-*
permissions:
contents: read

jobs:
prepare-dist:
runs-on: ubuntu-latest
Expand All @@ -12,10 +15,10 @@ jobs:
token: ${{ secrets.GH_CQ_BOT }}
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'npm'
node-version: "lts/*"
cache: "npm"
- name: Install dependencies
run: npm ci
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'chore: Prepare dist'
commit_message: "chore: Prepare dist"
4 changes: 4 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
push:
branches:
- main

permissions:
contents: read

jobs:
release-please:
runs-on: ubuntu-latest
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
pull_request:
types: [opened, synchronize, reopened]

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
Expand All @@ -15,8 +18,8 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'npm'
node-version: "lts/*"
cache: "npm"
- name: Install Dependencies
run: npm ci

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/versioning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ on:
release:
types: [published, edited]

permissions:
contents: write

jobs:
actions-tagger:
runs-on: ubuntu-latest
steps:
- uses: Actions-R-Us/actions-tagger@latest
- uses: Actions-R-Us/actions-tagger@330ddfac760021349fef7ff62b372f2f691c20fb
with:
publish_latest_tag: true
token: ${{ secrets.GITHUB_TOKEN }}
8 changes: 8 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14963,6 +14963,14 @@ function _supportsColor(haveStream, {streamIsTTY, sniffFlags = true} = {}) {
return 3;
}

if (env.TERM === 'xterm-ghostty') {
return 3;
}

if (env.TERM === 'wezterm') {
return 3;
}

if ('TERM_PROGRAM' in env) {
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);

Expand Down
Loading