File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-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-privx
27+
28+ - name : Run and save capabilities output
29+ run : ./connector capabilities > baton_capabilities.json
30+
31+ - name : Commit changes
32+ uses : EndBug/add-and-commit@v9
33+ with :
34+ default_author : github_actions
35+ message : " Updating baton capabilities."
36+ add : " baton_capabilities.json"
You can’t perform that action at this time.
0 commit comments