Skip to content

Commit c94be21

Browse files
Merge branch 'main' into fix_rest
2 parents 172acee + fd44326 commit c94be21

2,803 files changed

Lines changed: 322204 additions & 36631 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/bigframes-docs-deploy.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ on:
1414
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1515
permissions:
1616
contents: read
17-
pages: write
18-
id-token: write
17+
pages: write # zizmor: ignore[excessive-permissions]
18+
id-token: write # zizmor: ignore[excessive-permissions]
1919

2020
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
2121
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
@@ -29,14 +29,15 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@v6
32+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
3333
# Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`
3434
# See https://github.com/googleapis/google-cloud-python/issues/12013
3535
# and https://github.com/actions/checkout#checkout-head.
3636
with:
3737
fetch-depth: 2
38+
persist-credentials: false
3839
- name: Setup Python
39-
uses: actions/setup-python@v6
40+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
4041
with:
4142
python-version: "3.10"
4243
- name: Install nox
@@ -48,7 +49,7 @@ jobs:
4849
run: |
4950
nox -s docs
5051
- name: Upload artifact
51-
uses: actions/upload-pages-artifact@v5
52+
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5
5253
with:
5354
path: packages/bigframes/docs/_build/html/
5455

@@ -62,4 +63,4 @@ jobs:
6263
steps:
6364
- name: Deploy to GitHub Pages
6465
id: deployment
65-
uses: actions/deploy-pages@v5
66+
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5

.github/workflows/bigtable-conformance.yaml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
permissions:
2+
contents: read
3+
14
on:
25
pull_request:
36
paths:
@@ -21,8 +24,10 @@ jobs:
2124
outputs:
2225
run_bigtable: ${{ steps.filter.outputs.bigtable }}
2326
steps:
24-
- uses: actions/checkout@v6
25-
- uses: dorny/paths-filter@v4
27+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
28+
with:
29+
persist-credentials: false
30+
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4
2631
id: filter
2732
with:
2833
filters: |
@@ -48,18 +53,21 @@ jobs:
4853
fail-fast: false
4954
name: "${{ matrix.client-type }} client / python ${{ matrix.py-version }} / test tag ${{ matrix.test-version }}"
5055
steps:
51-
- uses: actions/checkout@v6
56+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
5257
name: "Checkout google-cloud-python"
53-
- uses: actions/checkout@v6
58+
with:
59+
persist-credentials: false
60+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
5461
name: "Checkout conformance tests"
5562
with:
5663
repository: googleapis/cloud-bigtable-clients-test
5764
ref: ${{ matrix.test-version }}
5865
path: packages/google-cloud-bigtable/cloud-bigtable-clients-test
59-
- uses: actions/setup-python@v6
66+
persist-credentials: false
67+
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
6068
with:
6169
python-version: ${{ matrix.py-version }}
62-
- uses: actions/setup-go@v6
70+
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
6371
with:
6472
go-version: '>=1.20.2'
6573
- run: pip install -e .
@@ -71,4 +79,4 @@ jobs:
7179
CLIENT_TYPE: ${{ matrix.client-type }}
7280
PYTHONUNBUFFERED: 1
7381
TEST_ARGS: ${{ matrix.test_args }}
74-
PROXY_PORT: 9999
82+
PROXY_PORT: 9999

.github/workflows/django-spanner-django5.2_tests.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
permissions:
2+
contents: read
3+
14
on:
25
pull_request:
36
paths:
@@ -21,8 +24,10 @@ jobs:
2124
outputs:
2225
run_django_spanner: ${{ steps.filter.outputs.django_spanner }}
2326
steps:
24-
- uses: actions/checkout@v6
25-
- uses: dorny/paths-filter@v3
27+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
28+
with:
29+
persist-credentials: false
30+
- uses: dorny/paths-filter@d1c1ffe0248fe513906c8e24db8ea791d46f8590 # v3
2631
id: filter
2732
with:
2833
filters: |
@@ -62,15 +67,17 @@ jobs:
6267

6368
services:
6469
emulator:
65-
image: gcr.io/cloud-spanner-emulator/emulator:latest
70+
image: gcr.io/cloud-spanner-emulator/emulator:latest # zizmor: ignore[unpinned-images]
6671
ports:
6772
- 9010:9010
6873

6974
steps:
7075
- name: Checkout code
71-
uses: actions/checkout@v6
76+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
77+
with:
78+
persist-credentials: false
7279
- name: Setup Python
73-
uses: actions/setup-python@v6
80+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
7481
with:
7582
python-version: "3.10"
7683
- name: Run Django tests

.github/workflows/django-spanner-foreign_keys.yaml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
permissions:
2+
contents: read
3+
14
on:
25
pull_request:
36
paths:
@@ -21,8 +24,10 @@ jobs:
2124
outputs:
2225
run_django_spanner: ${{ steps.filter.outputs.django_spanner }}
2326
steps:
24-
- uses: actions/checkout@v6
25-
- uses: dorny/paths-filter@v4
27+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
28+
with:
29+
persist-credentials: false
30+
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4
2631
id: filter
2732
with:
2833
filters: |
@@ -37,15 +42,17 @@ jobs:
3742

3843
services:
3944
emulator-0:
40-
image: gcr.io/cloud-spanner-emulator/emulator:latest
45+
image: gcr.io/cloud-spanner-emulator/emulator:latest # zizmor: ignore[unpinned-images]
4146
ports:
4247
- 9010:9010
4348

4449
steps:
4550
- name: Checkout code
46-
uses: actions/checkout@v6
51+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
52+
with:
53+
persist-credentials: false
4754
- name: Setup Python
48-
uses: actions/setup-python@v6
55+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
4956
with:
5057
python-version: "3.10"
5158
- name: Run Django foreign key test

.github/workflows/django-spanner-integration-tests-against-emulator-3.10.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
permissions:
2+
contents: read
3+
14
on:
25
pull_request:
36
paths:
@@ -21,8 +24,10 @@ jobs:
2124
outputs:
2225
run_django_spanner: ${{ steps.filter.outputs.django_spanner }}
2326
steps:
24-
- uses: actions/checkout@v6
25-
- uses: dorny/paths-filter@v4
27+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
28+
with:
29+
persist-credentials: false
30+
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4
2631
id: filter
2732
with:
2833
filters: |
@@ -37,16 +42,18 @@ jobs:
3742

3843
services:
3944
emulator:
40-
image: gcr.io/cloud-spanner-emulator/emulator:latest
45+
image: gcr.io/cloud-spanner-emulator/emulator:latest # zizmor: ignore[unpinned-images]
4146
ports:
4247
- 9010:9010
4348
- 9020:9020
4449

4550
steps:
4651
- name: Checkout code
47-
uses: actions/checkout@v6
52+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
53+
with:
54+
persist-credentials: false
4855
- name: Set up Python 3.10
49-
uses: actions/setup-python@v6
56+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
5057
with:
5158
python-version: "3.10"
5259
- name: Install nox

.github/workflows/django-spanner-mockserver-tests.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
permissions:
2+
contents: read
3+
14
on:
25
pull_request:
36
paths:
@@ -21,8 +24,10 @@ jobs:
2124
outputs:
2225
run_django_spanner: ${{ steps.filter.outputs.django_spanner }}
2326
steps:
24-
- uses: actions/checkout@v6
25-
- uses: dorny/paths-filter@v4
27+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
28+
with:
29+
persist-credentials: false
30+
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4
2631
id: filter
2732
with:
2833
filters: |
@@ -37,9 +42,11 @@ jobs:
3742

3843
steps:
3944
- name: Checkout code
40-
uses: actions/checkout@v6
45+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
46+
with:
47+
persist-credentials: false
4148
- name: Set up Python 3.12
42-
uses: actions/setup-python@v6
49+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
4350
with:
4451
python-version: "3.12"
4552
- name: Install nox

.github/workflows/docs.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v6
20+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
2121
# Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`
2222
# See https://github.com/googleapis/google-cloud-python/issues/12013
2323
# and https://github.com/actions/checkout#checkout-head.
2424
with:
2525
fetch-depth: 2
26+
persist-credentials: false
2627
- name: Setup Python
27-
uses: actions/setup-python@v6
28+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
2829
with:
2930
python-version: "3.10"
3031
- name: Install nox
@@ -44,14 +45,15 @@ jobs:
4445
runs-on: ubuntu-latest
4546
steps:
4647
- name: Checkout
47-
uses: actions/checkout@v6
48+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
4849
# Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`
4950
# See https://github.com/googleapis/google-cloud-python/issues/12013
5051
# and https://github.com/actions/checkout#checkout-head.
5152
with:
5253
fetch-depth: 2
54+
persist-credentials: false
5355
- name: Setup Python
54-
uses: actions/setup-python@v6
56+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
5557
with:
5658
python-version: "3.10"
5759
- name: Install nox

0 commit comments

Comments
 (0)