Skip to content

Commit 17555ed

Browse files
committed
Additional updates
1 parent ee45e53 commit 17555ed

10 files changed

+19
-19
lines changed

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
fetch-depth: 100
1919
submodules: true
20-
- uses: ruby/setup-ruby@v1
20+
- uses: ruby/setup-ruby@1a615958ad9d422dd932dc1d5823942ee002799f # v1.227.0
2121
with:
2222
ruby-version: '2.7'
2323
- name: Setup Bundler

.github/workflows/check-vertexai-responses.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,24 @@ jobs:
1717
echo "latest_tag=$LATEST" >> $GITHUB_ENV
1818
working-directory: firebase-vertexai/src/test/resources/vertexai-sdk-test-data
1919
- name: Find comment from previous run if exists
20-
uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e
20+
uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e # v3.1.0
2121
id: fc
2222
with:
2323
issue-number: ${{github.event.number}}
2424
body-includes: Vertex AI Mock Responses Check
2525
- name: Comment on PR if newer version is available
2626
if: ${{env.cloned_tag != env.latest_tag && !steps.fc.outputs.comment-id}}
27-
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
27+
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
2828
with:
2929
issue-number: ${{github.event.number}}
3030
body: >
3131
### Vertex AI Mock Responses Check :warning:
32-
32+
3333
A newer major version of the mock responses for Vertex AI unit tests is available.
3434
[update_responses.sh](https://github.com/firebase/firebase-android-sdk/blob/main/firebase-vertexai/update_responses.sh)
3535
should be updated to clone the latest version of the responses: `${{env.latest_tag}}`
3636
- name: Delete comment when version gets updated
3737
if: ${{env.cloned_tag == env.latest_tag && steps.fc.outputs.comment-id}}
38-
uses: detomarco/delete-comment@850734dd44d8b15fef55b45252613b903ceb06f0
38+
uses: detomarco/delete-comment@dd37d1026c669ebfb0ffa5d23890010759ff05d5 # v1.1.0
3939
with:
4040
comment-id: ${{ steps.fc.outputs.comment-id }}

.github/workflows/ci_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,11 @@ jobs:
159159

160160
steps:
161161
- name: Download Artifacts
162-
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e #v4.2.1
162+
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
163163
with:
164164
path: artifacts
165165

166166
- name: Publish Test Results
167-
uses: EnricoMi/publish-unit-test-result-action@82082dac68ad6a19d980f8ce817e108b9f496c2a
167+
uses: EnricoMi/publish-unit-test-result-action@170bf24d20d201b842d7a52403b73ed297e6645b # v2.18.0
168168
with:
169169
files: "artifacts/**/*.xml"

.github/workflows/create_releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
./gradlew generateReleaseConfig -PcurrentRelease=${{ inputs.name }} -PpastRelease=${{ inputs.past-name }} -PprintOutput=true
4747
4848
- name: Create Pull Request
49-
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f
49+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
5050
with:
5151
base: 'releases/${{ inputs.name }}'
5252
branch: 'releases/${{ inputs.name }}.release'

.github/workflows/dataconnect.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ jobs:
147147
148148
- name: Create AVD
149149
if: github.event_name == 'schedule' || steps.restore-avd-cache.outputs.cache-hit != 'true'
150-
uses: reactivecircus/android-emulator-runner@v2
150+
uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d #v2.33.0
151151
with:
152152
api-level: ${{ env.FDC_ANDROID_EMULATOR_API_LEVEL }}
153153
arch: x86_64
@@ -187,7 +187,7 @@ jobs:
187187

188188
- name: Gradle connectedCheck
189189
id: connectedCheck
190-
uses: reactivecircus/android-emulator-runner@v2
190+
uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d #v2.33.0
191191
# Allow this GitHub Actions "job" to continue even if the tests fail so that logs from a
192192
# failed test run get uploaded as "artifacts" and are available to investigate failed runs.
193193
# A later step in this "job" will fail the job if this step fails

.github/workflows/firestore_ci_tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
credentials_json: ${{ secrets.GCP_SERVICE_ACCOUNT }}
7373
- uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a # v2.1.4
7474
- name: firebase-firestore Integ Tests
75-
uses: reactivecircus/android-emulator-runner@v2
75+
uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d #v2.33.0
7676
env:
7777
FIREBASE_CI: 1
7878
FTL_RESULTS_BUCKET: android-ci
@@ -137,7 +137,7 @@ jobs:
137137

138138
# create composite indexes with Terraform
139139
- name: Setup Terraform
140-
uses: hashicorp/setup-terraform@v2
140+
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
141141
- name: Terraform Init
142142
run: |
143143
cd firebase-firestore
@@ -164,7 +164,7 @@ jobs:
164164

165165
- name: Firestore Named DB Integ Tests
166166
timeout-minutes: 20
167-
uses: reactivecircus/android-emulator-runner@v2
167+
uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d #v2.33.0
168168
env:
169169
FIREBASE_CI: 1
170170
FTL_RESULTS_BUCKET: android-ci
@@ -227,7 +227,7 @@ jobs:
227227
- uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a # v2.1.4
228228

229229
- name: Firestore Nightly Integ Tests
230-
uses: reactivecircus/android-emulator-runner@v2
230+
uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d #v2.33.0
231231
env:
232232
FIREBASE_CI: 1
233233
FTL_RESULTS_BUCKET: android-ci

.github/workflows/merge-to-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
permissions:
1616
pull-requests: write
1717
steps:
18-
- uses: mshick/add-pr-comment@a65df5f64fc741e91c59b8359a4bc56e57aaf5b1
18+
- uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2.8.2
1919
with:
2020
message: >
2121
### 📝 PRs merging into main branch

.github/workflows/plugins-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: |
2727
./gradlew plugins:check
2828
- name: Publish Test Results
29-
uses: EnricoMi/publish-unit-test-result-action@82082dac68ad6a19d980f8ce817e108b9f496c2a
29+
uses: EnricoMi/publish-unit-test-result-action@170bf24d20d201b842d7a52403b73ed297e6645b # v2.18.0
3030
with:
3131
files: "**/build/test-results/**/*.xml"
3232
check_name: "plugins test results"

.github/workflows/post_release_cleanup.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
./gradlew postReleaseCleanup
2727
2828
- name: Create Pull Request
29-
uses: peter-evans/create-pull-request@v4
29+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
3030
with:
3131
token: ${{ secrets.GOOGLE_OSS_BOT_TOKEN }}
3232
committer: google-oss-bot <[email protected]>
@@ -41,6 +41,6 @@ jobs:
4141
title: '${{ inputs.name}} mergeback'
4242
body: |
4343
Auto-generated PR for cleaning up release ${{ inputs.name}}
44-
44+
4545
NO_RELEASE_CHANGE
4646
commit-message: 'Post release cleanup for ${{ inputs.name }}'

.github/workflows/release-note-changes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
fireci changelog_comment -c "${{ steps.changed-files.outputs.all_changed_files }}" -o ./changelog_comment.md
5555
5656
- name: Add PR Comment
57-
uses: mshick/[email protected].1
57+
uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2.8.2
5858
continue-on-error: true
5959
with:
6060
status: ${{ steps.generate-comment.outcome }}

0 commit comments

Comments
 (0)