-
Notifications
You must be signed in to change notification settings - Fork 5
32 lines (30 loc) · 808 Bytes
/
fig.yml
File metadata and controls
32 lines (30 loc) · 808 Bytes
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
name: 'Fig Autocomplete Spec'
on:
push:
tags:
- 'v*'
- '!v*.*.*-nightly.*'
workflow_dispatch:
jobs:
publish-spec:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ^1.21
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Run make fig
run: |
make fig
- name: Create Autocomplete PR ## Create the autocomplete PR using this action
uses: withfig/push-to-fig-autocomplete-action@v1
with:
token: ${{ secrets.MEROXA_MACHINE }}
autocomplete-spec-name: meroxa
spec-path: spec/meroxa.ts
repo-org: meroxa
repo-name: cli-fig-autocomplete
integration: cobra
use-minor-base: true