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
3 changes: 3 additions & 0 deletions .github/workflows/approve-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
default: false
type: boolean

permissions:
contents: read

jobs:
approve-rc:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/benchmark-comment-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
issue_comment:
types: [created]

permissions:
contents: read
pull-requests: read

jobs:
forward-to-bench:
# Only process comments on PRs that mention @bench-bot and contain 'benchmark'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Run benchmarks
on:
workflow_dispatch:

permissions:
contents: read

jobs:
dataset:
timeout-minutes: 30
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/buf-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
default: ''
type: string

permissions:
contents: read

jobs:
push-module:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/cargo-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,15 @@ env:
CARGO_INCREMENTAL: "0"
RUSTFLAGS: "-C debuginfo=0"

permissions:
contents: read

jobs:
build:
# Needs additional disk space for the full build.
runs-on: ubuntu-24.04-8x
permissions:
contents: read
id-token: write
timeout-minutes: 60
env:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
branches:
- main

permissions:
contents: read

jobs:
bench_regress:
timeout-minutes: 120
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/create-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
default: false
type: boolean

permissions:
contents: read

jobs:
create-rc:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/create-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
default: false
type: boolean

permissions:
contents: read

jobs:
create-release-branch:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/docs-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
- docs/**
- .github/workflows/docs-check.yml

permissions:
contents: read

env:
RUSTFLAGS: "-C debuginfo=0"
# according to: https://matklad.github.io/2021/09/04/fast-rust-builds.html
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/java-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ on:
required: false
type: string

permissions:
contents: read

jobs:
linux-arm64:
name: Build on Linux Arm64
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: "1"

permissions:
contents: read

jobs:
rust-clippy-fmt:
runs-on: ubuntu-24.04
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/license-header-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
- rust/**
- python/**
- protos/**
permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/nightly_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ on:
- cron: "0 0 * * *" # Runs every day at midnight UTC
workflow_dispatch:

permissions:
contents: read

jobs:
run:
runs-on: ubuntu-24.04
if: github.repository == 'lancedb/lance'
permissions:
actions: write
steps:
- name: Nightly Run File Verification Workflow
uses: benc-uk/workflow-dispatch@7a027648b88c2413826b6ddd6c76114894dc5ec4 # v1
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/notebook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:
- protos/**
- notebooks/**

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
default: false
type: boolean

permissions:
contents: read

jobs:
publish-beta:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ on:
- ".github/workflows/build_windows_wheel/**"
- ".github/workflows/upload_wheel/**"

permissions:
contents: read

jobs:
linux:
timeout-minutes: 60
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ on:
- .github/workflows/build_mac_wheel/**
- .github/workflows/run_tests/**

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/recurring-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
- cron: "0 0 * * 0" # Runs at 00:00 UTC every Sunday
workflow_dispatch:

permissions:
contents: read

jobs:
get-pylance-versions:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ on:
- Cargo.lock
- deny.toml

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -53,6 +56,7 @@ jobs:

clippy:
permissions:
contents: read
checks: write
runs-on: ubuntu-24.04
steps:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/typos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
- main
- release/**

permissions:
contents: read

jobs:
run:
name: Spell Check with Typos
Expand Down
Loading