Skip to content

Commit 373a77b

Browse files
committed
chore: Pinned github actions to full-length comit SHAs
1 parent d5aba84 commit 373a77b

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
python: ['3.9', '3.10', '3.11', '3.12', '3.13', 'pypy3.9']
1212

1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # 4.3.1
1515

1616
- name: Set up Python 3.13 for emulator
17-
uses: actions/setup-python@v5
17+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # 5.6.0
1818
with:
1919
python-version: '3.13'
2020
- name: Setup functions emulator environment
@@ -24,7 +24,7 @@ jobs:
2424
pip install -r integration/emulators/functions/requirements.txt
2525
deactivate
2626
- name: Set up Python ${{ matrix.python }}
27-
uses: actions/setup-python@v5
27+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # 5.6.0
2828
with:
2929
python-version: ${{ matrix.python }}
3030
- name: Install dependencies
@@ -34,11 +34,11 @@ jobs:
3434
- name: Test with pytest
3535
run: pytest
3636
- name: Set up Node.js 20
37-
uses: actions/setup-node@v4
37+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # 4.4.0
3838
with:
3939
node-version: 20
4040
- name: Set up Java 21
41-
uses: actions/setup-java@v5
41+
uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # 5.1.0
4242
with:
4343
distribution: 'temurin'
4444
java-version: '21'
@@ -52,9 +52,9 @@ jobs:
5252
lint:
5353
runs-on: ubuntu-latest
5454
steps:
55-
- uses: actions/checkout@v4
55+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # 4.3.1
5656
- name: Set up Python 3.9
57-
uses: actions/setup-python@v5
57+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # 5.6.0
5858
with:
5959
python-version: 3.9
6060
- name: Install dependencies

.github/workflows/nightly.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929

3030
steps:
3131
- name: Checkout source for staging
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # 4.3.1
3333
with:
3434
ref: ${{ github.event.client_payload.ref || github.ref }}
3535

3636
- name: Set up Python
37-
uses: actions/setup-python@v5
37+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # 5.6.0
3838
with:
3939
python-version: 3.9
4040

@@ -63,14 +63,14 @@ jobs:
6363
# Attach the packaged artifacts to the workflow output. These can be manually
6464
# downloaded for later inspection if necessary.
6565
- name: Archive artifacts
66-
uses: actions/upload-artifact@v4
66+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6767
with:
6868
name: dist
6969
path: dist
7070

7171
- name: Send email on failure
7272
if: failure()
73-
uses: firebase/firebase-admin-node/.github/actions/send-email@main
73+
uses: firebase/firebase-admin-node/.github/actions/send-email@2e2b36a84ba28679bcb7aecdacabfec0bded2d48 # Admin Node SDK v13.6.0
7474
with:
7575
api-key: ${{ secrets.OSS_BOT_MAILGUN_KEY }}
7676
domain: ${{ secrets.OSS_BOT_MAILGUN_DOMAIN }}
@@ -85,7 +85,7 @@ jobs:
8585

8686
- name: Send email on cancelled
8787
if: cancelled()
88-
uses: firebase/firebase-admin-node/.github/actions/send-email@main
88+
uses: firebase/firebase-admin-node/.github/actions/send-email@2e2b36a84ba28679bcb7aecdacabfec0bded2d48 # Admin Node SDK v13.6.0
8989
with:
9090
api-key: ${{ secrets.OSS_BOT_MAILGUN_KEY }}
9191
domain: ${{ secrets.OSS_BOT_MAILGUN_DOMAIN }}

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ jobs:
4040
# via the 'ref' client parameter.
4141
steps:
4242
- name: Checkout source for staging
43-
uses: actions/checkout@v4
43+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # 4.3.1
4444
with:
4545
ref: ${{ github.event.client_payload.ref || github.ref }}
4646

4747
- name: Set up Python
48-
uses: actions/setup-python@v5
48+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # 5.6.0
4949
with:
5050
python-version: 3.9
5151

@@ -74,7 +74,7 @@ jobs:
7474
# Attach the packaged artifacts to the workflow output. These can be manually
7575
# downloaded for later inspection if necessary.
7676
- name: Archive artifacts
77-
uses: actions/upload-artifact@v4
77+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
7878
with:
7979
name: dist
8080
path: dist
@@ -102,11 +102,11 @@ jobs:
102102

103103
steps:
104104
- name: Checkout source for publish
105-
uses: actions/checkout@v4
105+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # 4.3.1
106106

107107
# Download the artifacts created by the stage_release job.
108108
- name: Download release candidates
109-
uses: actions/download-artifact@v4.1.7
109+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
110110
with:
111111
name: dist
112112
path: dist
@@ -124,13 +124,13 @@ jobs:
124124
--notes '${{ steps.preflight.outputs.changelog }}'
125125

126126
- name: Publish to Pypi
127-
uses: pypa/gh-action-pypi-publish@release/v1
127+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
128128

129129
# Post to Twitter if explicitly opted-in by adding the label 'release:tweet'.
130130
- name: Post to Twitter
131131
if: success() &&
132132
contains(github.event.pull_request.labels.*.name, 'release:tweet')
133-
uses: firebase/firebase-admin-node/.github/actions/send-tweet@main
133+
uses: firebase/firebase-admin-node/.github/actions/send-tweet@2e2b36a84ba28679bcb7aecdacabfec0bded2d48 # Admin Node SDK v13.6.0
134134
with:
135135
status: >
136136
${{ steps.preflight.outputs.version }} of @Firebase Admin Python SDK is available.

0 commit comments

Comments
 (0)