Skip to content

Commit a8f0d5a

Browse files
committed
Add a CI test.
1 parent 9972ca4 commit a8f0d5a

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,25 @@ jobs:
3434
if: always()
3535
uses: guyarb/[email protected]
3636
with:
37-
test-results: test.json
37+
test-results: test.json
38+
ci:
39+
runs-on: ubuntu-latest
40+
env:
41+
BATON_LOG_LEVEL: debug
42+
BATON_TOKEN: ${{ github.token }}
43+
steps:
44+
- name: Checkout code
45+
uses: actions/checkout@v4
46+
- name: Install Go
47+
uses: actions/setup-go@v5
48+
with:
49+
go-version-file: go.mod
50+
- name: Build baton-github
51+
run: go build ./cmd/baton-github
52+
- name: Grant/revoke
53+
uses: ConductorOne/github-workflows/actions/sync-test@v2
54+
with:
55+
connector: ./baton-github
56+
baton-entitlement: 'repository:642588514:triage'
57+
baton-principal: '190765094'
58+
baton-principal-type: 'user'

0 commit comments

Comments
 (0)