Skip to content

Commit 3e14dd5

Browse files
committed
Add GHA workflow for submitting tags to metric service.
1 parent 3a94354 commit 3e14dd5

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.github/workflows/health-metrics-test.yml renamed to .github/workflows/health-metrics-presubmit.yml

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Health Metrics
33
on: [push, pull_request]
44

55
env:
6+
<<<<<<< HEAD:.github/workflows/health-metrics-test.yml
7+
=======
8+
METRICS_SERVICE_URL: "https://api.firebase-sdk-health-metrics.com"
9+
>>>>>>> 7b37f3376 (Add GHA workflow for submitting tags to metric service.):.github/workflows/health-metrics-presubmit.yml
610
GITHUB_PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }}
711
# TODO(yifany): parse from git commit history directly
812
# Reason: actions/checkout@v2 does not always honor ${{ github.event.pull_request.base.sha }},
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Health Metrics
2+
3+
on:
4+
push:
5+
tags: ['**']
6+
7+
jobs:
8+
release-diffing:
9+
name: Release Diffing
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: google-github-actions/setup-gcloud@master
13+
with:
14+
service_account_key: ${{ secrets.GCP_SA_KEY }}
15+
- uses: yifanyang/github-actions/health-metrics/release-diffing@master
16+
with:
17+
repo: ${{ github.repository }}
18+
ref: ${{ github.ref }}
19+
commit: ${{ github.sha }}

0 commit comments

Comments
 (0)