forked from bufbuild/buf-push-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
34 lines (34 loc) · 943 Bytes
/
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
name: buf-push
description: >
Push buf module updates to the Buf Schema Registry.
branding:
icon: arrow-up
color: blue
inputs:
buf_token:
description: The Buf authentication token.
required: true
input:
description: The Input path.
default: '.'
required: false
default_branch:
description: The git branch that gets pushed to the main track on BSR.
default: main
required: false
track:
description: The track to push to.
default: ${{ github.event_name == 'delete' && github.event.ref || github.ref_name }}
required: false
github_token:
description: The Github authentication token.
required: false
default: ${{ github.token }}
outputs:
commit:
description: The commit pushed to the Buf Schema Registry.
commit_url:
description: The URL to view commit on the Buf Schema Registry.
runs:
using: docker
image: 'docker://ghcr.io/willroden/buf-push-action:main'