-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
30 lines (30 loc) · 1.11 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: 'GA4 Event'
author: 'Dylan700'
description: 'A GitHub Action for sending offline events to Google Analytics 4 from your repository workflows.'
branding:
icon: "bar-chart-2"
color: "white"
inputs:
event-name:
description: 'The name of the event'
required: false
default: 'update_github'
measurement-id:
description: 'The measurement id for your GA4 property'
required: true
api-secret:
description: 'The API secret for you GA4 property'
required: true
dry-run:
description: 'When true, only the validation server will be used to validate the request, and the request will not be sent to your GA4 property'
default: 'false'
required: false
property-id:
description: 'The id of you GA4 property. If this value is set, the action will configure custom dimensions to make viewing event data easier'
required: false
service-account-credentials:
description: "This variable should be passed as a secret, containing the contents of your Google Cloud service account key file credentials in json format."
required: false
runs:
using: 'node16'
main: 'dist/index.js'