forked from fiberplane/publish-event
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
41 lines (41 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
31
32
33
34
35
36
37
38
39
40
41
name: Publish event
description: Publishes an event to Fiberplane
branding:
icon: tag
color: gray-dark
inputs:
api-token:
description: API token used to access the Fiberplane API with
required: true
title:
description: Title of the newly created event
required: true
default: GitHub Action
labels:
description: |
Labels to add to the event.
Format: key=value|key=value|key=value
required: true # For now these are required
time:
description: Time at which the event occurred. Defaults to current time. Format should be a RFC 3339 formatted string
required: false
workspace-id:
description: ID of the workspace to which the event should be posted
required: true
fp-base-url:
description: Base URL of the Fiberplane API
required: true
default: https://studio.fiberplane.com
outputs:
id:
description: ID of the newly created event
runs:
using: docker
image: Dockerfile
args:
- ${{ inputs.api-token }}
- ${{ inputs.title }}
- ${{ inputs.labels }}
- ${{ inputs.time }}
- ${{ inputs.workspace-id }}
- ${{ inputs.fp-base-url }}