File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ # This file is managed by baton-admin. Do not edit directly.
2+ name : Generate Baton Metadata
3+
4+ on :
5+ push :
6+ branches :
7+ - main
8+
9+ jobs :
10+ generate_outputs :
11+ if : github.actor != 'github-actions[bot]'
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - name : Checkout code
16+ uses : actions/checkout@v4
17+ with :
18+ token : ${{ secrets.RELENG_GITHUB_TOKEN }}
19+
20+ - name : Setup Go
21+ uses : actions/setup-go@v5
22+ with :
23+ go-version-file : " go.mod"
24+
25+ - name : Build
26+ run : go build -o connector ./cmd/baton-linear
27+
28+ - name : Run and save config output
29+ run : ./connector config > config_schema.json
30+
31+ - name : Run and save capabilities output
32+ run : ./connector capabilities > baton_capabilities.json
33+
34+ - name : Commit changes
35+ uses : EndBug/add-and-commit@v9
36+ with :
37+ default_author : github_actions
38+ message : " Updating baton config schema and capabilities."
39+ add : |
40+ config_schema.json
41+ baton_capabilities.json
You can’t perform that action at this time.
0 commit comments