Skip to content

Commit 46c0c03

Browse files
authored
Merge branch 'main' into feature/tenant-management-emulator
2 parents d4237cb + b40e738 commit 46c0c03

3 files changed

Lines changed: 31 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Continuous Integration
22

33
on: pull_request
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
build:
710
runs-on: ubuntu-latest
@@ -11,10 +14,12 @@ jobs:
1114
python: ['3.9', '3.10', '3.11', '3.12', '3.13', 'pypy3.9']
1215

1316
steps:
14-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # 4.3.1
17+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
18+
with:
19+
persist-credentials: false
1520

1621
- name: Set up Python 3.13 for emulator
17-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # 5.6.0
22+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
1823
with:
1924
python-version: '3.13'
2025
- name: Setup functions emulator environment
@@ -24,7 +29,7 @@ jobs:
2429
pip install -r integration/emulators/functions/requirements.txt
2530
deactivate
2631
- name: Set up Python ${{ matrix.python }}
27-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # 5.6.0
32+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
2833
with:
2934
python-version: ${{ matrix.python }}
3035
- name: Install dependencies
@@ -34,11 +39,11 @@ jobs:
3439
- name: Test with pytest
3540
run: pytest
3641
- name: Set up Node.js 20
37-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # 4.4.0
42+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
3843
with:
3944
node-version: 20
4045
- name: Set up Java 21
41-
uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # 5.1.0
46+
uses: actions/setup-java@0f481fcb613427c0f801b606911222b5b6f3083a # v5.5.0
4247
with:
4348
distribution: 'temurin'
4449
java-version: '21'
@@ -52,9 +57,11 @@ jobs:
5257
lint:
5358
runs-on: ubuntu-latest
5459
steps:
55-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # 4.3.1
60+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
61+
with:
62+
persist-credentials: false
5663
- name: Set up Python 3.9
57-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # 5.6.0
64+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
5865
with:
5966
python-version: 3.9
6067
- name: Install dependencies

.github/workflows/nightly.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,23 @@ on:
2222
repository_dispatch:
2323
types: [firebase_nightly_build]
2424

25+
permissions:
26+
contents: read
27+
2528
jobs:
2629
nightly:
2730

2831
runs-on: ubuntu-latest
2932

3033
steps:
3134
- name: Checkout source for staging
32-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # 4.3.1
35+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
3336
with:
3437
ref: ${{ github.event.client_payload.ref || github.ref }}
38+
persist-credentials: false
3539

3640
- name: Set up Python
37-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # 5.6.0
41+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
3842
with:
3943
python-version: 3.9
4044

.github/workflows/release.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ on:
3232
types:
3333
- firebase_build
3434

35+
permissions:
36+
contents: read
37+
3538
jobs:
3639
stage_release:
3740
# To publish a release, merge a PR with the title prefix '[chore] Release ' to main
@@ -46,10 +49,12 @@ jobs:
4649

4750
steps:
4851
- name: Checkout source for staging
49-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # 4.3.1
52+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
53+
with:
54+
persist-credentials: false
5055

5156
- name: Set up Python
52-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # 5.6.0
57+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
5358
with:
5459
python-version: 3.9
5560

@@ -105,7 +110,10 @@ jobs:
105110

106111
steps:
107112
- name: Checkout source for publish
108-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # 4.3.1
113+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
114+
with:
115+
# Ignored since the GITHUB_TOKEN needs to be persisted for this workflow.
116+
persist-credentials: true # zizmor: ignore[artipacked]
109117

110118
# Download the artifacts created by the stage_release job.
111119
- name: Download release candidates

0 commit comments

Comments
 (0)